Serializablepublic class JSONException extends RuntimeException
| Constructor | Description |
|---|---|
JSONException(String message) |
Constructs a JSONException with an explanatory message.
|
JSONException(Throwable cause) |
Constructs a new JSONException with the specified cause.
|
| Modifier and Type | Method | Description |
|---|---|---|
Throwable |
getCause() |
Returns the cause of this exception or null if the cause is nonexistent
or unknown.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic JSONException(String message)
message - Detail about the reason for the exception.public JSONException(Throwable cause)
cause - The cause.Copyright © 2018. All rights reserved.