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-07 UTC."],[[["This page details the `FailedPreconditionException` class within the Google API Client Libraries for Java, version 2.58.0, which extends the `ApiException` class."],["`FailedPreconditionException` is thrown when an operation fails because the system isn't in the correct state, such as attempting to delete a non-empty directory."],["The page offers a list of links to documentation for a range of versions, spanning from the latest 2.63.1 down to 2.7.1, showcasing how it evolved over time."],["The class provides constructors to create `FailedPreconditionException` instances, allowing the specification of a message, cause, status code, retryability, and error details."],["The `FailedPreconditionException` class inherits members from `ApiException`, `Object`, and `Throwable`, such as methods to retrieve error details, metadata, status code, and cause."]]],[]]