Class InvalidTypeIdException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- com.fasterxml.jackson.core.JsonProcessingException
-
- com.fasterxml.jackson.databind.JsonMappingException
-
- com.fasterxml.jackson.databind.exc.MismatchedInputException
-
- com.fasterxml.jackson.databind.exc.InvalidTypeIdException
-
- All Implemented Interfaces:
java.io.Serializable
public class InvalidTypeIdException extends MismatchedInputException
Exception thrown when resolution of a type id fails.- Since:
- 2.8
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonMappingException
JsonMappingException.Reference
-
-
Constructor Summary
Constructors Constructor Description InvalidTypeIdException(JsonParser p, java.lang.String msg, JavaType baseType, java.lang.String typeId)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InvalidTypeIdException
from(JsonParser p, java.lang.String msg, JavaType baseType, java.lang.String typeId)
JavaType
getBaseType()
java.lang.String
getTypeId()
-
Methods inherited from class com.fasterxml.jackson.databind.exc.MismatchedInputException
from, from, from, getTargetType, setTargetType
-
Methods inherited from class com.fasterxml.jackson.databind.JsonMappingException
from, from, from, from, from, from, from, fromUnexpectedIOE, getLocalizedMessage, getMessage, getPath, getPathReference, getPathReference, getProcessor, prependPath, prependPath, prependPath, toString, wrapWithPath, wrapWithPath, wrapWithPath
-
Methods inherited from class com.fasterxml.jackson.core.JsonProcessingException
clearLocation, getLocation, getOriginalMessage
-
-
-
-
Constructor Detail
-
InvalidTypeIdException
public InvalidTypeIdException(JsonParser p, java.lang.String msg, JavaType baseType, java.lang.String typeId)
-
-
Method Detail
-
from
public static InvalidTypeIdException from(JsonParser p, java.lang.String msg, JavaType baseType, java.lang.String typeId)
-
getBaseType
public JavaType getBaseType()
-
getTypeId
public java.lang.String getTypeId()
-
-