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 then things are amiss.

Summary

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

Public Constructors

public JSONException (String message)

Since: API Level 1

Constructs a JSONException with an explanatory message.

Parameters
message Detail about the reason for the exception.