catch all throwables when parsing xml

This commit is contained in:
Daniel Gultsch 2016-08-02 10:58:54 +02:00
parent d02e24248f
commit 121312d103

View File

@ -81,8 +81,8 @@ public class XmlReader {
} }
} }
} catch (Exception e) { } catch (Throwable throwable) {
throw new IOException("xml parser mishandled "+e.getClass().getName(), e); throw new IOException("xml parser mishandled "+throwable.getClass().getName(), throwable);
} finally { } finally {
if (wakeLock.isHeld()) { if (wakeLock.isHeld()) {
try { try {