From a0a86602d9bc980b451eeaca43bf00e4651cbea5 Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Tue, 23 Nov 2010 10:24:43 +0000 Subject: [PATCH] improve logging issue 205 git-svn-id: https://osmand.googlecode.com/svn/trunk@691 e29c36b1-1cfa-d876-8d93-3434fc2bb7b8 --- .../src/net/osmand/data/preparation/IndexCreator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DataExtractionOSM/src/net/osmand/data/preparation/IndexCreator.java b/DataExtractionOSM/src/net/osmand/data/preparation/IndexCreator.java index b3c139d3b0..19fe8a768c 100644 --- a/DataExtractionOSM/src/net/osmand/data/preparation/IndexCreator.java +++ b/DataExtractionOSM/src/net/osmand/data/preparation/IndexCreator.java @@ -1296,7 +1296,7 @@ public class IndexCreator { for (Way es : l) { boolean inner = "inner".equals(entities.get(es)); if (innerType != inner) { - throw new IllegalStateException(); + throw new IllegalStateException("Way:" + es.getId() + " is strange part of completed ring. InnerType:" + innerType + " way inner: " + inner + " way inner string:" + entities.get(es)); } if (!inner && name != null) { multiPolygonsNames.put(es.getId(), name);