aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/eu
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2016-08-02 10:58:54 +0200
committerDaniel Gultsch <daniel@gultsch.de>2016-08-02 10:58:54 +0200
commit121312d1032772d9520b3cb05e15af962d1974b3 (patch)
tree566bf5b43c9f679501d9560eaad48062a89f5a5d /src/main/java/eu
parentd02e24248f0d38e084336e463da559fedc3ac896 (diff)
catch all throwables when parsing xml
Diffstat (limited to 'src/main/java/eu')
-rw-r--r--src/main/java/eu/siacs/conversations/xml/XmlReader.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/eu/siacs/conversations/xml/XmlReader.java b/src/main/java/eu/siacs/conversations/xml/XmlReader.java
index 48569086..1e6b89d3 100644
--- a/src/main/java/eu/siacs/conversations/xml/XmlReader.java
+++ b/src/main/java/eu/siacs/conversations/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 {