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) {
|
||||
throw new IOException("xml parser mishandled "+e.getClass().getName(), e);
|
||||
} catch (Throwable throwable) {
|
||||
throw new IOException("xml parser mishandled "+throwable.getClass().getName(), throwable);
|
||||
} finally {
|
||||
if (wakeLock.isHeld()) {
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue