Class ParameterMappingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.boot.actuate.endpoint.InvalidEndpointRequestException
org.springframework.boot.actuate.endpoint.invoke.ParameterMappingException
- All Implemented Interfaces:
Serializable
A
ParameterMappingException is thrown when a failure occurs during
operation parameter mapping.- Since:
- 2.0.0
- Author:
- Andy Wilkinson
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionParameterMappingException(OperationParameter parameter, Object value, Throwable cause) Creates a newParameterMappingExceptionfor a failure that occurred when trying to map the giveninputto the giventype. -
Method Summary
Modifier and TypeMethodDescriptionReturn the parameter being mapped.getValue()Return the value being mapped.Methods inherited from class org.springframework.boot.actuate.endpoint.InvalidEndpointRequestException
getReasonMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ParameterMappingException
Creates a newParameterMappingExceptionfor a failure that occurred when trying to map the giveninputto the giventype.- Parameters:
parameter- the parameter being mappingvalue- the value being mappedcause- the cause of the mapping failure
-
-
Method Details
-
getParameter
Return the parameter being mapped.- Returns:
- the parameter
-
getValue
Return the value being mapped.- Returns:
- the value
-