We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e77383 commit e239e19Copy full SHA for e239e19
JSONException.java
@@ -7,6 +7,7 @@
7
* @version 2014-05-03
8
*/
9
public class JSONException extends RuntimeException {
10
+ /** Serialization ID */
11
private static final long serialVersionUID = 0;
12
13
/**
@@ -19,6 +20,16 @@ public JSONException(final String message) {
19
20
super(message);
21
}
22
23
+ /**
24
+ * @param message
25
+ * Detail about the reason for the exception.
26
+ * @param cause
27
+ * The cause.
28
+ */
29
+ public JSONException(String message, Throwable cause) {
30
+ super(message, cause);
31
+ }
32
+
33
34
* Constructs a new JSONException with the specified cause.
35
*
0 commit comments