Save This Page
Home » json » org.json » [javadoc | source]
org.json
public class: JSONException [javadoc | source]
java.lang.Object
   java.lang.Throwable
      java.lang.Exception
         org.json.JSONException

All Implemented Interfaces:
    Serializable

The JSONException is thrown by the JSON.org classes when things are amiss.
Fields inherited from java.lang.Exception:
serialVersionUID
Constructor:
 public JSONException(String message) 
    Constructs a JSONException with an explanatory message.
    Parameters:
    message - Detail about the reason for the exception.
 public JSONException(Throwable t) 
Method from org.json.JSONException Summary:
getCause
Methods from java.lang.Throwable:
fillInStackTrace,   getCause,   getLocalizedMessage,   getMessage,   getStackTrace,   initCause,   printStackTrace,   printStackTrace,   printStackTrace,   setStackTrace,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.json.JSONException Detail:
 public Throwable getCause()