Package com.dropbox.core.json
Class JsonReadException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.dropbox.core.json.JsonReadException
-
- All Implemented Interfaces:
java.io.Serializable
public final class JsonReadException extends java.lang.Exception
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JsonReadException.PathPart
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
error
com.fasterxml.jackson.core.JsonLocation
location
static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description JsonReadException(java.lang.String error, com.fasterxml.jackson.core.JsonLocation location)
JsonReadException(java.lang.String error, com.fasterxml.jackson.core.JsonLocation location, java.lang.Throwable cause)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description JsonReadException
addArrayContext(int index)
JsonReadException
addFieldContext(java.lang.String fieldName)
static JsonReadException
fromJackson(com.fasterxml.jackson.core.JsonProcessingException ex)
java.lang.String
getMessage()
static void
toStringLocation(java.lang.StringBuilder buf, com.fasterxml.jackson.core.JsonLocation location)
-
-
-
Field Detail
-
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
-
error
public final java.lang.String error
-
location
public final com.fasterxml.jackson.core.JsonLocation location
-
-
Method Detail
-
addFieldContext
public JsonReadException addFieldContext(java.lang.String fieldName)
-
addArrayContext
public JsonReadException addArrayContext(int index)
-
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in classjava.lang.Throwable
-
toStringLocation
public static void toStringLocation(java.lang.StringBuilder buf, com.fasterxml.jackson.core.JsonLocation location)
-
fromJackson
public static JsonReadException fromJackson(com.fasterxml.jackson.core.JsonProcessingException ex)
-
-