Exception FailedPreconditionException (2.50.0)

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
Name Description
message String
cause Throwable
statusCode StatusCode
retryable boolean

FailedPreconditionException(Throwable cause, StatusCode statusCode, boolean retryable)

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

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

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