public class JSONException
extends java.lang.Exception
| Modifier and Type | Field and Description |
|---|---|
private java.lang.Throwable |
cause |
private int |
column |
private int |
line |
| Constructor and 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) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Throwable |
getCause() |
int |
getColumn() |
int |
getLine() |
private java.lang.Throwable cause
private int line
private int column
public JSONException(java.lang.String message)
message - Detail about the reason for the exception.public JSONException(java.lang.String message,
int line,
int column)
public JSONException(java.lang.Throwable t)