public final class ParameterMappingException extends InvalidEndpointRequestException
ParameterMappingException
is thrown when a failure occurs during
operation parameter mapping
.Constructor and Description |
---|
ParameterMappingException(OperationParameter parameter,
Object value,
Throwable cause)
Creates a new
ParameterMappingException for a failure that occurred when
trying to map the given input to the given type . |
Modifier and Type | Method and Description |
---|---|
OperationParameter |
getParameter()
Return the parameter being mapped.
|
Object |
getValue()
Return the value being mapped.
|
getReason
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ParameterMappingException(OperationParameter parameter, Object value, Throwable cause)
ParameterMappingException
for a failure that occurred when
trying to map the given input
to the given type
.parameter
- the parameter being mappingvalue
- the value being mappedcause
- the cause of the mapping failurepublic OperationParameter getParameter()
public Object getValue()