From 359aae5a8349897381611d1edff2ec164e174209 Mon Sep 17 00:00:00 2001 From: Andreas Schildbach Date: Fri, 15 Jun 2012 10:52:59 +0200 Subject: [PATCH] add more debug info to uncategorized exceptions --- enabler/src/de/schildbach/pte/AbstractEfaProvider.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/enabler/src/de/schildbach/pte/AbstractEfaProvider.java b/enabler/src/de/schildbach/pte/AbstractEfaProvider.java index cb91086d..9e4044d0 100644 --- a/enabler/src/de/schildbach/pte/AbstractEfaProvider.java +++ b/enabler/src/de/schildbach/pte/AbstractEfaProvider.java @@ -1695,6 +1695,10 @@ public abstract class AbstractEfaProvider extends AbstractNetworkProvider { throw new ParserException(x); } + catch (final RuntimeException x) + { + throw new RuntimeException("uncategorized problem while processing " + uri, x); + } finally { if (is != null) @@ -1736,6 +1740,10 @@ public abstract class AbstractEfaProvider extends AbstractNetworkProvider throw x; } + catch (final RuntimeException x) + { + throw new RuntimeException("uncategorized problem while processing " + uri, x); + } finally { if (is != null)