Extract of Benelux crashes when using "--road-name-pois" because of
different exception occurs then expected. Catch this exception also.

Index: src/uk/me/parabola/imgfmt/app/srt/Sort.java
===================================================================
--- src/uk/me/parabola/imgfmt/app/srt/Sort.java (revision 2052)
+++ src/uk/me/parabola/imgfmt/app/srt/Sort.java (working copy)
@@ -128,6 +128,8 @@
                        return new SrtSortKey<T>(object, key, second);
                } catch (CharacterCodingException e) {
                        return new SrtSortKey<T>(object, ZERO_KEY);
+               } catch (IllegalStateException e) {
+                       return new SrtSortKey<T>(object, ZERO_KEY);
                }
        }
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to