public class MissingParameterException extends Exception implements WithErrorResponse
Constructor and Description |
---|
MissingParameterException(String parameter)
Exception constructor.
|
MissingParameterException(String parameter,
Throwable cause)
Exception constructor.
|
Modifier and Type | Method and Description |
---|---|
ResponseWithErrorCode |
getErrorResponse()
Gets the response containing an HTTP error code.
|
String |
getParameter() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public MissingParameterException(@Nullable String parameter)
parameter
- The missing parameter.@Nonnull public ResponseWithErrorCode getErrorResponse()
getErrorResponse
in interface WithErrorResponse
Copyright © 2020 SAP SE. All rights reserved.