diff options
author | iNPUTmice <daniel@gultsch.de> | 2014-07-03 22:53:18 +0200 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2014-07-03 22:53:18 +0200 |
commit | f33d2497f85581b6b7e13fa1f3e088520227b346 (patch) | |
tree | 7a728b19ff63b01780695cfbdfdfdc40af609516 | |
parent | 38e2110aa4832aa9ed19569af7d9762d401d2012 (diff) |
more xmlpullparser fixes
-rw-r--r-- | src/eu/siacs/conversations/xml/XmlReader.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/eu/siacs/conversations/xml/XmlReader.java b/src/eu/siacs/conversations/xml/XmlReader.java index 98bee3ee..10b2fb06 100644 --- a/src/eu/siacs/conversations/xml/XmlReader.java +++ b/src/eu/siacs/conversations/xml/XmlReader.java @@ -81,6 +81,8 @@ 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("null pointer in xml parser"); } return null; } |