catch all throwables when parsing xml
This commit is contained in:
parent
d02e24248f
commit
121312d103
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue