public class JSONException
extends java.io.IOException
Modifier and Type | Class and Description |
---|---|
static class |
JSONException.Entry |
Modifier and Type | Field and Description |
---|---|
private java.util.List<JSONException.Entry> |
entries |
private java.lang.String |
message |
Constructor and Description |
---|
JSONException(java.lang.String messageIn) |
JSONException(java.lang.String messageIn,
java.lang.Throwable cause) |
Modifier and Type | Method and Description |
---|---|
static JSONException |
forException(java.lang.Exception exception) |
java.lang.String |
getMessage() |
void |
prependJsonKey(java.lang.String key) |
void |
setFilenameAndFlush(java.lang.String filenameIn) |
private final java.util.List<JSONException.Entry> entries
private final java.lang.String message
public JSONException(java.lang.String messageIn)
public JSONException(java.lang.String messageIn, java.lang.Throwable cause)
public void prependJsonKey(java.lang.String key)
public void setFilenameAndFlush(java.lang.String filenameIn)
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public static JSONException forException(java.lang.Exception exception)