Exception PermissionDeniedException (2.47.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
Name Description
message String
cause Throwable
statusCode StatusCode
retryable boolean

PermissionDeniedException(Throwable cause, StatusCode statusCode, boolean retryable)

public PermissionDeniedException(Throwable cause, StatusCode statusCode, boolean retryable)
Parameters
Name Description
cause Throwable
statusCode StatusCode
retryable boolean

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

public PermissionDeniedException(Throwable cause, StatusCode statusCode, boolean retryable, ErrorDetails errorDetails)
Parameters
Name Description
cause Throwable
statusCode StatusCode
retryable boolean
errorDetails ErrorDetails