Exception AlreadyExistsException (2.21.0)

public class AlreadyExistsException extends ApiException

Exception thrown when some entity that we attempted to create (e.g., file or directory) already exists.

Constructors

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

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

AlreadyExistsException(Throwable cause, StatusCode statusCode, boolean retryable)

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

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

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