aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authoriNPUTmice <daniel@gultsch.de>2014-08-30 08:31:05 +0200
committeriNPUTmice <daniel@gultsch.de>2014-08-30 08:31:05 +0200
commit8840d082bae00fde2f053b77368677b203598629 (patch)
tree0b47823d6f7a5dd6fc7ead12220727d2d5708179 /src
parent5450a2ae469a84f5c285aeaf68135684ad6aae27 (diff)
brought npe catcher back for kxml parser
Diffstat (limited to 'src')
-rw-r--r--src/eu/siacs/conversations/xml/XmlReader.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/eu/siacs/conversations/xml/XmlReader.java b/src/eu/siacs/conversations/xml/XmlReader.java
index 1c7e94e6..cf6b8c73 100644
--- a/src/eu/siacs/conversations/xml/XmlReader.java
+++ b/src/eu/siacs/conversations/xml/XmlReader.java
@@ -90,6 +90,10 @@ public class XmlReader {
throw new IOException("xml parser mishandled ArrayIndexOufOfBounds", e);
} catch (StringIndexOutOfBoundsException e) {
throw new IOException("xml parser mishandled StringIndexOufOfBounds", e);
+ } catch (NullPointerException e) {
+ throw new IOException("xml parser mishandled NullPointerException", e);
+ } catch (IndexOutOfBoundsException e) {
+ throw new IOException("xml parser mishandled IndexOutOfBound", e);
}
return null;
}