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

Thanks for the patch.
Can you post the exception you want to catch in your patch? The patch 
covers a problem which I think should be fixed at its origin. So a 
stacktrace would be very helpful.

Thanks!
WanMil

_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to