4 * The JSONException is thrown by the JSON.org classes then things are amiss.
8 public class JSONException extends Exception {
9 private Throwable cause;
12 * Constructs a JSONException with an explanatory message.
13 * @param message Detail about the reason for the exception.
15 public JSONException(String message) {
19 public JSONException(Throwable t) {
20 super(t.getMessage());
24 public Throwable getCause() {