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, @Nullable 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 InvalidEndpointRequestException
getReasonMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ParameterMappingException
public ParameterMappingException(OperationParameter parameter, @Nullable Object value, Throwable cause) 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
-
getValue
-