Class MissingParametersException
- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- java.lang.RuntimeException
- org.springframework.boot.actuate.endpoint.InvalidEndpointRequestException
- org.springframework.boot.actuate.endpoint.invoke.MissingParametersException
- All Implemented Interfaces:
Serializable
public final class MissingParametersException extends InvalidEndpointRequestException
RuntimeException
thrown when an endpoint invocation does not contain required parameters.- Since:
- 2.0.0
- See Also:
- Serialized Form
Constructor Summary
Constructors Constructor Description MissingParametersException(Set<OperationParameter> missingParameters)
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<OperationParameter>
getMissingParameters()
Returns the parameters that were missing.Methods inherited from class org.springframework.boot.actuate.endpoint.InvalidEndpointRequestException
getReason
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Constructor Detail
MissingParametersException
public MissingParametersException(Set<OperationParameter> missingParameters)
Method Detail
getMissingParameters
public Set<OperationParameter> getMissingParameters()
Returns the parameters that were missing.- Returns:
- the parameters