public class ForbiddenOperationException extends Exception implements WithErrorResponse
Constructor and Description |
---|
ForbiddenOperationException() |
ForbiddenOperationException(String message) |
ForbiddenOperationException(String message,
Throwable cause) |
ForbiddenOperationException(Throwable cause) |
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, toString
public ForbiddenOperationException(String message)
public ForbiddenOperationException(Throwable cause)
public ForbiddenOperationException()
public ResponseWithErrorCode getErrorResponse()
WithErrorResponse
getErrorResponse
in interface WithErrorResponse
Copyright © 2018 SAP SE. All rights reserved.