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 Library for Java, version 2.14.0."],["`FailedPreconditionException` is thrown when an operation cannot be performed due to the system not being in the correct state, such as trying to delete a non-empty directory."],["The class inherits members from `ApiException` and other core Java classes like `Object` and `Throwable`, including methods for status code retrieval and determining retryability."],["It provides two constructors to create `FailedPreconditionException` objects, allowing for the specification of a message, a cause `Throwable`, a `StatusCode`, and a `boolean` to indicate retryability."],["This documentation also shows the different versions of this exception class, from 2.63.1 to 2.7.1, that are part of this API."]]],[]]