Package com.google.api.gax.rpc
Class FailedPreconditionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.google.api.gax.rpc.ApiException
com.google.api.gax.rpc.FailedPreconditionException
- All Implemented Interfaces:
Serializable
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.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFailedPreconditionException(String message, Throwable cause, StatusCode statusCode, boolean retryable) FailedPreconditionException(String message, Throwable cause, StatusCode statusCode, boolean retryable, ErrorDetails errorDetails) FailedPreconditionException(Throwable cause, StatusCode statusCode, boolean retryable) FailedPreconditionException(Throwable cause, StatusCode statusCode, boolean retryable, ErrorDetails errorDetails) -
Method Summary
Methods inherited from class com.google.api.gax.rpc.ApiException
getDomain, getErrorDetails, getMetadata, getReason, getStatusCode, isRetryableMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
FailedPreconditionException
-
FailedPreconditionException
public FailedPreconditionException(String message, Throwable cause, StatusCode statusCode, boolean retryable) -
FailedPreconditionException
public FailedPreconditionException(Throwable cause, StatusCode statusCode, boolean retryable, ErrorDetails errorDetails) -
FailedPreconditionException
public FailedPreconditionException(String message, Throwable cause, StatusCode statusCode, boolean retryable, ErrorDetails errorDetails)
-