mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-28 03:32:15 -05:00
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
Block a user