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
public class InvalidEndpointRequestException extends RuntimeException
Indicate that an endpoint request is invalid.- Since:
- 2.0.0
- See Also:
- Serialized Form
Constructor Summary
Constructors Constructor Description InvalidEndpointRequestException(String message, String reason)
InvalidEndpointRequestException(String message, String reason, Throwable cause)
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getReason()
Return the reason explaining why the request is invalid, potentiallynull
.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Constructor Detail
InvalidEndpointRequestException
public InvalidEndpointRequestException(String message, String reason)
InvalidEndpointRequestException
public InvalidEndpointRequestException(String message, String reason, Throwable cause)