public class JCardParseException extends IOException
Constructor and Description |
---|
JCardParseException(com.fasterxml.jackson.core.JsonToken expected,
com.fasterxml.jackson.core.JsonToken actual)
Creates a jCard parse exception.
|
JCardParseException(String message,
com.fasterxml.jackson.core.JsonToken expected,
com.fasterxml.jackson.core.JsonToken actual)
Creates a jCard parse exception.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.core.JsonToken |
getActualToken()
Gets the JSON token that was read.
|
com.fasterxml.jackson.core.JsonToken |
getExpectedToken()
Gets the JSON token that the parser was expected.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public JCardParseException(com.fasterxml.jackson.core.JsonToken expected, com.fasterxml.jackson.core.JsonToken actual)
expected
- the JSON token that the parser was expectingactual
- the actual JSON tokenpublic JCardParseException(String message, com.fasterxml.jackson.core.JsonToken expected, com.fasterxml.jackson.core.JsonToken actual)
message
- the detail messageexpected
- the JSON token that the parser was expectingactual
- the actual JSON tokenpublic com.fasterxml.jackson.core.JsonToken getExpectedToken()
public com.fasterxml.jackson.core.JsonToken getActualToken()
Copyright © 2012–2023 Michael Angstadt. All rights reserved.