Package com.gmt2001.httpclient
Class NotJSONException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.json.JSONException
com.gmt2001.httpclient.NotJSONException
- All Implemented Interfaces:
Serializable
An extension of
JSONException
to explicitly indicate that HttpClientResponse
identified the response
body as not JSON, due to the first character not being a {
- Author:
- gmt2001
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructorNotJSONException
(String message) Constructor with message override -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NotJSONException
public NotJSONException()Constructor -
NotJSONException
Constructor with message override- Parameters:
message
- The error message
-