The JSONException is thrown by the JSON.org classes then things are amiss.
@Deprecated public class JSONException extends Exception
| Constructor and Description | 
|---|
| JSONException(String message)Deprecated.  Constructs a JSONException with an explanatory message. | 
| JSONException(Throwable t)Deprecated.  | 
| Modifier and Type | Method and Description | 
|---|---|
| Throwable | getCause()Deprecated.  | 
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringCopyright © 2003–2017 Atlassian. All rights reserved.