public interface ErrorFactory
Modifier and Type | Method and Description |
---|---|
RuntimeException |
ioException(IOException e)
I/O error reported from the Jackson JSON parser.
|
RuntimeException |
messageParseError(MessageParser.MessageContextException e)
Parser is configured to find a message tag within the JSON
and a syntax occurred when following the data path.
|
RuntimeException |
parseError(String string,
com.fasterxml.jackson.core.JsonParseException e)
The Jackson JSON parser failed to start on the input file.
|
RuntimeException |
structureError(String string)
General structure-level error: something very unusual occurred
in the JSON that passed Jackson, but failed in the structure
parser.
|
RuntimeException |
syntaxError(com.fasterxml.jackson.core.JsonParseException e)
The Jackson parser reported a syntax error.
|
RuntimeException |
syntaxError(com.fasterxml.jackson.core.JsonToken token)
Received an unexpected token.
|
RuntimeException |
typeError(UnsupportedConversionError e)
The Jackson parser reported an error when trying to convert
a value to a specific type.
|
RuntimeException |
unrecoverableError()
Error recovery is on, the structure parser tried to recover, but
encountered too many other errors and gave up.
|
RuntimeException parseError(String string, com.fasterxml.jackson.core.JsonParseException e)
RuntimeException ioException(IOException e)
RuntimeException structureError(String string)
RuntimeException syntaxError(com.fasterxml.jackson.core.JsonParseException e)
RuntimeException typeError(UnsupportedConversionError e)
RuntimeException syntaxError(com.fasterxml.jackson.core.JsonToken token)
RuntimeException unrecoverableError()
RuntimeException messageParseError(MessageParser.MessageContextException e)
Copyright © 1970 The Apache Software Foundation. All rights reserved.