Exception FailedPreconditionException (2.19.1)

public class FailedPreconditionException extends ApiException

Exception thrown when the operation was rejected because the system is not in a state required for the operation's execution. For example, directory to be deleted may be non-empty, an rmdir operation is applied to a non-directory, etc.

Constructors

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

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

FailedPreconditionException(Throwable cause, StatusCode statusCode, boolean retryable)

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

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

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