Class InvalidEndpointRequestException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.boot.actuate.endpoint.InvalidEndpointRequestException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
MissingParametersException
,ParameterMappingException
Indicate that an endpoint request is invalid.
- Since:
- 2.0.0
- Author:
- Stephane Nicoll
- See Also:
-
Constructor Summary
ConstructorDescriptionInvalidEndpointRequestException
(String message, String reason) InvalidEndpointRequestException
(String message, String reason, Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidEndpointRequestException
-
InvalidEndpointRequestException
-
-
Method Details
-
getReason
Return the reason explaining why the request is invalid, potentiallynull
.- Returns:
- the reason for the failure
-