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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-09 UTC."],[[["This page details the `FailedPreconditionException` class within the Google API Client Libraries for Java, part of the `com.google.api.gax.rpc` package, covering its usage and inherited members."],["The `FailedPreconditionException` is thrown when an operation fails due to the system not being in the required state, such as attempting to delete a non-empty directory or performing an operation on a non-directory."],["The `FailedPreconditionException` class extends `ApiException` and inherits several methods, including `getDomain()`, `getErrorDetails()`, `getMetadata()`, `getReason()`, `getStatusCode()`, and `isRetryable()`."],["There are three constructors for `FailedPreconditionException`, allowing for different parameters such as a custom message, the root cause `Throwable`, a `StatusCode`, retryable status, and optional `ErrorDetails`."],["The page lists multiple versions of this API, from version 2.63.1 as the latest, all the way down to version 2.7.1."]]],[]]