public class ForbiddenOperationException extends Exception implements WithErrorResponse
| Constructor and Description |
|---|
ForbiddenOperationException() |
ForbiddenOperationException(String message)
Exception constructor.
|
ForbiddenOperationException(String message,
Throwable cause)
Exception constructor.
|
ForbiddenOperationException(Throwable cause)
Exception constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ResponseWithErrorCode |
getErrorResponse()
Gets the response containing an HTTP error code.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ForbiddenOperationException(@Nullable String message)
message - The exception message.public ForbiddenOperationException(@Nullable Throwable cause)
cause - The exception cause.public ForbiddenOperationException(@Nullable String message, @Nullable Throwable cause)
message - The exception message.cause - The exception cause.public ForbiddenOperationException()
@Nonnull public ResponseWithErrorCode getErrorResponse()
WithErrorResponsegetErrorResponse in interface WithErrorResponseCopyright © 2022 SAP SE. All rights reserved.