org.json

Class JSONException

public class JSONException extends Exception

The JSONException is thrown by the JSON.org classes then things are amiss.
Constructor Summary
JSONException(String message)
Constructs a JSONException with an explanatory message.
JSONException(Throwable t)
Method Summary
ThrowablegetCause()

Constructor Detail

JSONException

public JSONException(String message)
Constructs a JSONException with an explanatory message.

Parameters: message Detail about the reason for the exception.

JSONException

public JSONException(Throwable t)

Method Detail

getCause

public Throwable getCause()