Top Description Fields Constructors Methods
com.fasterxml.jackson.databind.exc

public Class InvalidTypeIdException

extends MismatchedInputException
Class Inheritance
Imports
com.fasterxml.jackson.core.JsonParser, com.fasterxml.jackson.databind.JavaType

Exception thrown when resolution of a type id fails.
Since
2.8

Field Summary

Modifier and TypeField and Description
protected final JavaType
_baseType

Basetype for which subtype was to be resolved

protected final String
_typeId

Type id that failed to be resolved to a subtype; `null` in cases where no type id was located (since 2.9).

private static final long
Inherited from com.fasterxml.jackson.databind.exc.MismatchedInputException:
_targetType

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static InvalidTypeIdException
from(JsonParser p, String msg, JavaType baseType, String typeId)

public JavaType
public String
Inherited from com.fasterxml.jackson.databind.exc.MismatchedInputException:
fromfromfromgetTargetTypesetTargetType

Field Detail

_baseTypeback to summary
protected final JavaType _baseType

Basetype for which subtype was to be resolved

_typeIdback to summary
protected final String _typeId

Type id that failed to be resolved to a subtype; `null` in cases where no type id was located (since 2.9).

serialVersionUIDback to summary
private static final long serialVersionUID

Hides com.fasterxml.jackson.databind.JsonMappingException.serialVersionUID.

Constructor Detail

InvalidTypeIdExceptionback to summary
public InvalidTypeIdException(JsonParser p, String msg, JavaType baseType, String typeId)

Method Detail

fromback to summary
public static InvalidTypeIdException from(JsonParser p, String msg, JavaType baseType, String typeId)
getBaseTypeback to summary
public JavaType getBaseType()
getTypeIdback to summary
public String getTypeId()