Exception CancelledException (2.39.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
NameDescription
messageString
causeThrowable
statusCodeStatusCode
retryableboolean

CancelledException(Throwable cause, StatusCode statusCode, boolean retryable)

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

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

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