public class

JSONException

extends Exception
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ org.json.JSONException

Class Overview

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

Summary

Public Constructors
JSONException(String message)
Constructs a JSONException with an explanatory message.
JSONException(Throwable cause)
Public Methods
Throwable getCause()
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public JSONException (String message)

Constructs a JSONException with an explanatory message.

Parameters
message Detail about the reason for the exception.

public JSONException (Throwable cause)

Public Methods

public Throwable getCause ()