Exception PermissionDeniedException (2.48.1)

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