improve logging issue 205

git-svn-id: https://osmand.googlecode.com/svn/trunk@691 e29c36b1-1cfa-d876-8d93-3434fc2bb7b8
This commit is contained in:
Victor Shcherb 2010-11-23 10:24:43 +00:00
parent 2f56b515b3
commit a0a86602d9

View file

@ -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);