Exception PermissionDeniedException (2.35.0)

public class PermissionDeniedException extends ApiException

Exception thrown when the caller does not have permission to execute the specified operation.

Constructors

PermissionDeniedException(String message, Throwable cause, StatusCode statusCode, boolean retryable)

public PermissionDeniedException(String message, Throwable cause, StatusCode statusCode, boolean retryable)
Parameters
NameDescription
messageString
causeThrowable
statusCodeStatusCode
retryableboolean

PermissionDeniedException(Throwable cause, StatusCode statusCode, boolean retryable)

public PermissionDeniedException(Throwable cause, StatusCode statusCode, boolean retryable)
Parameters
NameDescription
causeThrowable
statusCodeStatusCode
retryableboolean

PermissionDeniedException(Throwable cause, StatusCode statusCode, boolean retryable, ErrorDetails errorDetails)

public PermissionDeniedException(Throwable cause, StatusCode statusCode, boolean retryable, ErrorDetails errorDetails)
Parameters
NameDescription
causeThrowable
statusCodeStatusCode
retryableboolean
errorDetailsErrorDetails