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-04 UTC."],[[["\u003cp\u003eThis webpage details the \u003ccode\u003eFailedPreconditionException\u003c/code\u003e class within the Google API Client Libraries for Java (gax) and its various versions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFailedPreconditionException\u003c/code\u003e is thrown when an operation fails because the system is not in the correct state, such as trying to delete a non-empty directory.\u003c/p\u003e\n"],["\u003cp\u003eThis class extends \u003ccode\u003eApiException\u003c/code\u003e and includes methods like \u003ccode\u003egetDomain\u003c/code\u003e, \u003ccode\u003egetErrorDetails\u003c/code\u003e, \u003ccode\u003egetMetadata\u003c/code\u003e, and more, along with methods from \u003ccode\u003eObject\u003c/code\u003e and \u003ccode\u003eThrowable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt provides constructors for creating instances with or without a message, cause, status code, retryability, and error details.\u003c/p\u003e\n"],["\u003cp\u003eThe page lists multiple versions of the \u003ccode\u003eFailedPreconditionException\u003c/code\u003e, with the latest being version 2.63.1 and as far back as 2.7.1.\u003c/p\u003e\n"]]],[],null,[]]