aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/siacs/conversations/xml/XmlReader.java
diff options
context:
space:
mode:
authorMichael <betheg@bitcloner.org>2014-08-30 14:00:53 +0200
committerMichael <betheg@bitcloner.org>2014-08-30 14:00:53 +0200
commit969cba5ee6fa74460d85930a627a685cd6876ca3 (patch)
treea681a9b365fc3de0b67ea43cf8ef3bcecfb60dd8 /src/eu/siacs/conversations/xml/XmlReader.java
parent3714947d5f9307b173fdaf7b0fc08d92fd824553 (diff)
parent9eafb1008676747a3ff315fb820178641c7b09f3 (diff)
Merge remote-tracking branch 'upstream/development' into fix_typo
Diffstat (limited to 'src/eu/siacs/conversations/xml/XmlReader.java')
-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;
}