JSONException

public class JSONException extends Exception

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

Author:JSON.org

Constructors

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 cause)

Methods

getCause

public Throwable getCause()