public class ValueInstantiationException extends JsonMappingException
ValueInstantiator
:
commonly used to wrap exceptions thrown by constructor or factory
method.
Note that this type is sibling of MismatchedInputException
and
InvalidDefinitionException
since it is not clear if problem is
with input, or type definition (or possibly neither).
It is recommended that if either specific input, or type definition problem
is known, a more accurate exception is used instead.
JsonMappingException.Reference
Modifier and Type | Method and Description |
---|---|
static ValueInstantiationException |
from(JsonParser p,
java.lang.String msg,
JavaType type) |
static ValueInstantiationException |
from(JsonParser p,
java.lang.String msg,
JavaType type,
java.lang.Throwable cause) |
JavaType |
getType()
Accessor for type fully resolved type that had the problem; this should always
known and available, never
null |
from, from, from, from, from, from, from, from, fromUnexpectedIOE, getLocalizedMessage, getMessage, getPath, getPathReference, getPathReference, getProcessor, prependPath, prependPath, prependPath, toString, wrapWithPath, wrapWithPath, wrapWithPath
clearLocation, getLocation, getOriginalMessage
public static ValueInstantiationException from(JsonParser p, java.lang.String msg, JavaType type)
public static ValueInstantiationException from(JsonParser p, java.lang.String msg, JavaType type, java.lang.Throwable cause)
public JavaType getType()
null
Copyright © 2010 - 2020 Adobe. All Rights Reserved