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-09-03 UTC."],[[["\u003cp\u003eThe page details the \u003ccode\u003eFailedPreconditionException\u003c/code\u003e class, which extends \u003ccode\u003eApiException\u003c/code\u003e, in the Google API client library for Java (gax), indicating an operation was rejected due to the system's state.\u003c/p\u003e\n"],["\u003cp\u003eVersion 2.63.1 is the latest release, with versions back to 2.7.1 available, including the current version being 2.51.0, as seen through the links to the documentation.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eFailedPreconditionException\u003c/code\u003e is thrown when a required system state is not met, such as attempting to delete a non-empty directory.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes inherited members and constructors, which are detailed with their parameters like \u003ccode\u003emessage\u003c/code\u003e, \u003ccode\u003ecause\u003c/code\u003e, \u003ccode\u003estatusCode\u003c/code\u003e, \u003ccode\u003eretryable\u003c/code\u003e, and \u003ccode\u003eerrorDetails\u003c/code\u003e, and what they each represent.\u003c/p\u003e\n"],["\u003cp\u003eThe page provides extensive documentation for the \u003ccode\u003eFailedPreconditionException\u003c/code\u003e class, linking to external Java documentation for standard methods and types used within the class.\u003c/p\u003e\n"]]],[],null,[]]