Top Description Fields Constructors Methods
tools.jackson.databind.exc

public Class InvalidTypeIdException

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

Exception thrown when resolution of a type id fails.

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.

private static final long
Inherited from tools.jackson.databind.exc.MismatchedInputException:
_currentToken_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 tools.jackson.databind.exc.MismatchedInputException:
_currentTokenfromfromgetCurrentTokengetTargetTypesetCurrentTokensetTargetType

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.

serialVersionUIDback to summary
private static final long serialVersionUID

Hides tools.jackson.databind.exc.MismatchedInputException.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()