Package org.codehaus.jettison.json
Class JSONException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.codehaus.jettison.json.JSONException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
JSONSequenceTooLargeException
public class JSONException extends Exception
The JSONException is thrown by the JSON.org classes then things are amiss.- Version:
- 2
- Author:
- JSON.org
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JSONException(String message)
Constructs a JSONException with an explanatory message.JSONException(String message, int line, int column)
JSONException(Throwable t)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getColumn()
int
getLine()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
JSONException
public JSONException(String message)
Constructs a JSONException with an explanatory message.- Parameters:
message
- Detail about the reason for the exception.
-
JSONException
public JSONException(String message, int line, int column)
-
JSONException
public JSONException(Throwable t)
-
-