mirror of
https://github.com/revanced/ARSCLib.git
synced 2025-05-05 08:24:24 +02:00
throw json exceptions with cause
This commit is contained in:
parent
e3e36c7866
commit
92a648612f
@ -53,7 +53,7 @@ public class JsonXmlInputSource extends InputSource {
|
|||||||
JSONObject jsonObject=new JSONObject(inputStream);
|
JSONObject jsonObject=new JSONObject(inputStream);
|
||||||
resXmlBlock.fromJson(jsonObject);
|
resXmlBlock.fromJson(jsonObject);
|
||||||
}catch (JSONException ex){
|
}catch (JSONException ex){
|
||||||
throw new IOException(inputSource.getAlias()+": "+ex.getMessage());
|
throw new IOException(inputSource.getAlias()+": "+ex.getMessage(), ex);
|
||||||
}
|
}
|
||||||
return resXmlBlock;
|
return resXmlBlock;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user