aboutsummaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-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 {