Known Direct Subclasses
JsonGenerationException |
Exception type for exceptions during JSON writing, such as trying
to output content in wrong context (non-matching end-array or end-object,
for example). |
JsonParseException |
Exception type for parsing problems, used when non-well-formed content
(content that does not conform to JSON syntax as per specification)
is encountered. |
|
Class Overview
Intermediate base class for all problems encountered when
processing (parsing, generating) JSON content
that are not pure I/O problems.
Regular IOException
s will be passed through as is.
Sub-class of IOException
for convenience.
Summary
Protected Methods |
String
|
getMessageSuffix()
Accessor that sub-classes can override to append additional
information right after the main message, but before
source location information.
|
Fields
Protected Constructors
protected
JsonProcessingException
(String msg)
protected
JsonProcessingException
(Throwable rootCause)
Public Methods
public
String
getMessage
()
Default method overridden so that we can add location information
Protected Methods
protected
String
getMessageSuffix
()
Accessor that sub-classes can override to append additional
information right after the main message, but before
source location information.