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\u003eThe content focuses on the \u003ccode\u003eFailedPreconditionException\u003c/code\u003e class within the Google API client library for Java, specifically within the \u003ccode\u003ecom.google.api.gax.rpc\u003c/code\u003e package.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eFailedPreconditionException\u003c/code\u003e is thrown when an operation fails because the system isn't in the correct state, such as trying to delete a non-empty directory.\u003c/p\u003e\n"],["\u003cp\u003eThe document details various versions of \u003ccode\u003eFailedPreconditionException\u003c/code\u003e, ranging from version 2.7.1 up to the latest version, 2.63.1, highlighting different iterations and updates to this class.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eFailedPreconditionException\u003c/code\u003e extends \u003ccode\u003eApiException\u003c/code\u003e and inherits from a chain of classes including \u003ccode\u003eRuntimeException\u003c/code\u003e, \u003ccode\u003eException\u003c/code\u003e, \u003ccode\u003eThrowable\u003c/code\u003e, and \u003ccode\u003eObject\u003c/code\u003e, with a list of inherited members provided.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors for \u003ccode\u003eFailedPreconditionException\u003c/code\u003e to handle varying ways to create the exception, one constructor taking a \u003ccode\u003eString\u003c/code\u003e message and the other not, but both require a \u003ccode\u003eThrowable\u003c/code\u003e cause, \u003ccode\u003eStatusCode\u003c/code\u003e, and a boolean determining if it is \u003ccode\u003eretryable\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]