For Jackson 2.x this base type is not widely used (instead, its main subtype
JsonProcessingException is): it is provided more for forwards-compatibility
purposes as 3.x will base all other types directly on it and deprecate
JsonProcessingException (as well as chance its type to unchecked).
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| protected | |
| protected | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public abstract JsonLocation | Returns: Location in input or output that triggered the problem reported, if available;null otherwise.Accessor for location information related to position within input
or output (depending on operation), if available; if not available
may return |
| public abstract String | Returns: Original, unmodifiedmessage argument used to construct
this exception instanceMethod that allows accessing the original "message" argument,
without additional decorations (like location information)
that overridden |
| public abstract Object | Returns: Originating processor, if available;null if not.Method that allows accessing underlying processor that triggered
this exception; typically either |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| JacksonException | back to summary |
|---|---|
| protected JacksonException(String msg) | |
| JacksonException | back to summary |
|---|---|
| protected JacksonException(Throwable t) | |
| JacksonException | back to summary |
|---|---|
| protected JacksonException(String msg, Throwable rootCause) | |
| getLocation | back to summary |
|---|---|
| public abstract JsonLocation getLocation() Accessor for location information related to position within input
or output (depending on operation), if available; if not available
may return Accuracy of location information depends on backend (format) as well as (in some cases) operation being performed.
| |
| getOriginalMessage | back to summary |
|---|---|
| public abstract String getOriginalMessage() Method that allows accessing the original "message" argument,
without additional decorations (like location information)
that overridden
| |
| getProcessor | back to summary |
|---|---|
| public abstract Object getProcessor() Method that allows accessing underlying processor that triggered
this exception; typically either
Note that it is possible that
| |