CloudPlugs REST Library  1.0.0
for Java
JSONException Class Reference
Inheritance diagram for JSONException:

Public Member Functions

 JSONException (String message)
 
 JSONException (Throwable cause)
 
Throwable getCause ()
 

Detailed Description

The JSONException is thrown by the JSON.org classes when things are amiss.

Author
JSON.org
Version
2013-02-10

Constructor & Destructor Documentation

◆ JSONException() [1/2]

JSONException ( String  message)

Constructs a JSONException with an explanatory message.

Parameters
messageDetail about the reason for the exception.

◆ JSONException() [2/2]

JSONException ( Throwable  cause)

Constructs a new JSONException with the specified cause.

Member Function Documentation

◆ getCause()

Throwable getCause ( )

Returns the cause of this exception or null if the cause is nonexistent or unknown.

Returns
the cause of this exception or null if the cause is nonexistent or unknown.