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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-15 UTC."],[[["This page details the `FailedPreconditionException` class within the Google API Client Libraries for Java (gax) and its various versions, ranging from 2.63.1 (latest) down to 2.7.1."],["`FailedPreconditionException` extends `ApiException` and is thrown when an operation cannot proceed due to the system not being in the required state, like trying to delete a non-empty directory."],["The class provides multiple constructors to handle different scenarios, allowing for the specification of a message, cause, status code, retryable flag, and error details."],["The page also includes a list of inherited members from the `ApiException`, `Object`, and `Throwable` classes, along with links to their documentation."],["The exception can be created with a `String` message, `Throwable` cause, a `StatusCode` and a boolean value for `retryable` or just `Throwable` cause, `StatusCode`, `retryable` or with an extra parameter `ErrorDetails`."]]],[]]