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, toStringpublic MissingParameterException(@Nullable String parameter)
parameter - The missing parameter.@Nonnull public ResponseWithErrorCode getErrorResponse()
WithErrorResponsegetErrorResponse in interface WithErrorResponseCopyright © 2022 SAP SE. All rights reserved.