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
Author:
Stephane Nicoll
See Also:
  • Constructor Details

    • InvalidEndpointRequestException

      public InvalidEndpointRequestException(String message, String reason)
    • InvalidEndpointRequestException

      public InvalidEndpointRequestException(String message, String reason, Throwable cause)
  • Method Details

    • getReason

      public String getReason()
      Return the reason explaining why the request is invalid, potentially null.
      Returns:
      the reason for the failure