git://git.nikiroo.be
/
fanfix.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59f1f1b
)
fix json excetpion not ioexception
author
Niki Roo
<niki@nikiroo.be>
Wed, 6 May 2020 15:24:48 +0000
(17:24 +0200)
committer
Niki Roo
<niki@nikiroo.be>
Wed, 6 May 2020 15:24:48 +0000
(17:24 +0200)
supported/BasicSupport.java
patch
|
blob
|
blame
|
history
diff --git
a/supported/BasicSupport.java
b/supported/BasicSupport.java
index f1635589bfd70b0dca80b5972dcfd241bda895f8..56a3bb80cb6d51fe40a9c4d830e12cb275102d76 100644
(file)
--- a/
supported/BasicSupport.java
+++ b/
supported/BasicSupport.java
@@
-12,6
+12,7
@@
import java.util.Map;
import java.util.Scanner;
import java.util.Map.Entry;
+import org.json.JSONException;
import org.json.JSONObject;
import org.jsoup.helper.DataUtil;
import org.jsoup.nodes.Document;
@@
-347,6
+348,8
@@
public abstract class BasicSupport {
scan.useDelimiter("\0");
try {
return new JSONObject(scan.next());
+ } catch (JSONException e) {
+ throw new IOException(e);
} finally {
scan.close();
}