java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
tools.jackson.core.JacksonException
tools.jackson.databind.DatabindException
tools.jackson.databind.exc.MismatchedInputException
tools.jackson.databind.exc.InvalidTypeIdException
- All Implemented Interfaces:
Serializable
Exception thrown when resolution of a type id fails.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class tools.jackson.core.JacksonException
JacksonException.Reference -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final JavaTypeBasetype for which subtype was to be resolvedprotected final StringType id that failed to be resolved to a subtype; `null` in cases where no type id was located.Fields inherited from class tools.jackson.databind.exc.MismatchedInputException
_currentToken, _targetTypeFields inherited from class tools.jackson.core.JacksonException
_location, _path, _processor -
Constructor Summary
ConstructorsConstructorDescriptionInvalidTypeIdException(JsonParser p, String msg, JavaType baseType, String typeId) -
Method Summary
Modifier and TypeMethodDescriptionstatic InvalidTypeIdExceptionfrom(JsonParser p, String msg, JavaType baseType, String typeId) Methods inherited from class tools.jackson.databind.exc.MismatchedInputException
_currentToken, from, from, getCurrentToken, getTargetType, setCurrentToken, setTargetTypeMethods inherited from class tools.jackson.databind.DatabindException
from, from, from, from, from, from, from, from, wrapWithPath, wrapWithPathMethods inherited from class tools.jackson.core.JacksonException
_appendPathDesc, _appendReferenceChain, _buildMessage, _exceptionMessage, clearLocation, getLocalizedMessage, getLocation, getMessage, getOriginalMessage, getPath, getPathReference, getPathReference, messageSuffix, prependPath, prependPath, prependPath, processor, toString, withCause, wrapWithPath, wrapWithPath, wrapWithPath, wrapWithPathMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Field Details
-
_baseType
Basetype for which subtype was to be resolved -
_typeId
Type id that failed to be resolved to a subtype; `null` in cases where no type id was located.
-
-
Constructor Details
-
InvalidTypeIdException
-
-
Method Details
-
from
public static InvalidTypeIdException from(JsonParser p, String msg, JavaType baseType, String typeId) -
getBaseType
-
getTypeId
-