diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2016-08-02 10:58:54 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2016-08-11 21:34:45 +0200 |
commit | 392e2350c603cc9718d7358b859fcb71993adf87 (patch) | |
tree | 5afafffaed3d72caf43b562d6a9399e5bfd1133e /src/main/java/de/pixart/messenger/xml | |
parent | 27c5c200b4c0c809b66701fad5b924206ecfbd2d (diff) |
catch all throwables when parsing xml
Diffstat (limited to 'src/main/java/de/pixart/messenger/xml')
-rw-r--r-- | src/main/java/de/pixart/messenger/xml/XmlReader.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/de/pixart/messenger/xml/XmlReader.java b/src/main/java/de/pixart/messenger/xml/XmlReader.java index 8c2781caf..0b7796c6c 100644 --- a/src/main/java/de/pixart/messenger/xml/XmlReader.java +++ b/src/main/java/de/pixart/messenger/xml/XmlReader.java @@ -81,8 +81,8 @@ public class XmlReader { } } - } catch (Exception e) { - throw new IOException("xml parser mishandled "+e.getClass().getName(), e); + } catch (Throwable throwable) { + throw new IOException("xml parser mishandled "+throwable.getClass().getName(), throwable); } finally { if (wakeLock.isHeld()) { try { |