Exception CancelledException (2.55.0)

public class CancelledException extends ApiException

The exception thrown when the operation was cancelled (typically by the caller).

Constructors

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

public CancelledException(String message, Throwable cause, StatusCode statusCode, boolean retryable)
Parameters
Name Description
message String
cause Throwable
statusCode StatusCode
retryable boolean

CancelledException(Throwable cause, StatusCode statusCode, boolean retryable)

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

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

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