diff --git a/JSONException.java b/JSONException.java index 41e85ae..086bac8 100755 --- a/JSONException.java +++ b/JSONException.java @@ -7,6 +7,7 @@ package org.json; * @version 2014-05-03 */ public class JSONException extends RuntimeException { + /** Serialization ID */ private static final long serialVersionUID = 0; /** @@ -19,6 +20,16 @@ public class JSONException extends RuntimeException { super(message); } + /** + * @param message + * Detail about the reason for the exception. + * @param cause + * The cause. + */ + public JSONException(String message, Throwable cause) { + super(message, cause); + } + /** * Constructs a new JSONException with the specified cause. *