com.jdroid.java.json
Class JSONException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.jdroid.java.json.JSONException
- All Implemented Interfaces:
- Serializable
public class JSONException
- extends RuntimeException
The JSONException is thrown by the JSON.org classes when things are amiss.
- Version:
- 2013-02-10
- Author:
- JSON.org
- See Also:
- Serialized Form
|
Method Summary |
Throwable |
getCause()
Returns the cause of this exception or null if the cause is nonexistent or unknown. |
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)
- Constructs a new JSONException with the specified cause.
- Parameters:
cause -
getCause
public Throwable getCause()
- Returns the cause of this exception or null if the cause is nonexistent or unknown.
- Overrides:
getCause in class Throwable
Copyright © 2014. All rights reserved.