aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/xml
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2016-08-02 10:58:54 +0200
committerChristian Schneppe <christian@pix-art.de>2016-08-11 21:34:45 +0200
commit392e2350c603cc9718d7358b859fcb71993adf87 (patch)
tree5afafffaed3d72caf43b562d6a9399e5bfd1133e /src/main/java/de/pixart/messenger/xml
parent27c5c200b4c0c809b66701fad5b924206ecfbd2d (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.java4
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 {