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