4 * The JSONException is thrown by the JSON.org classes when things are amiss.
9 public class JSONException extends RuntimeException
11 /** Serialization ID */
12 private static final long serialVersionUID = 0;
15 * Constructs a JSONException with an explanatory message.
18 * Detail about the reason for the exception.
20 public JSONException(final String message)
26 * Constructs a JSONException with an explanatory message and cause.
29 * Detail about the reason for the exception.
33 public JSONException(final String message, final Throwable cause)
35 super(message, cause);
39 * Constructs a new JSONException with the specified cause.
44 public JSONException(final Throwable cause)
46 super(cause.getMessage(), cause);