diff options
author | iNPUTmice <daniel@gultsch.de> | 2014-08-30 08:31:05 +0200 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2014-08-30 08:31:05 +0200 |
commit | 8840d082bae00fde2f053b77368677b203598629 (patch) | |
tree | 0b47823d6f7a5dd6fc7ead12220727d2d5708179 | |
parent | 5450a2ae469a84f5c285aeaf68135684ad6aae27 (diff) |
brought npe catcher back for kxml parser
-rw-r--r-- | src/eu/siacs/conversations/xml/XmlReader.java | 4 |
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; } |