brought npe catcher back for kxml parser

This commit is contained in:
iNPUTmice 2014-08-30 08:31:05 +02:00
parent 5450a2ae46
commit 8840d082ba
1 changed files with 4 additions and 0 deletions

View File

@ -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;
}