catch all throwables when parsing xml
This commit is contained in:
parent
27c5c200b4
commit
392e2350c6
1 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Reference in a new issue