Exception thrown when deadline expired before operation could complete. For operations that
change the state of the system, this error may be returned even if the operation has completed
successfully. For example, a successful response from a server could have been delayed long
enough for the deadline to expire.
[[["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 page details the \u003ccode\u003eDeadlineExceededException\u003c/code\u003e class within the Google API Client Libraries for Java (gax) package, showing its functionality as an exception thrown when an operation's deadline expires.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDeadlineExceededException\u003c/code\u003e class extends \u003ccode\u003eApiException\u003c/code\u003e and includes methods to manage the exception's status code and whether the operation is retryable.\u003c/p\u003e\n"],["\u003cp\u003eIt offers two constructors: one takes a message, cause, status code, and retryable flag; and the other takes just the cause, status code, and retryable flag.\u003c/p\u003e\n"],["\u003cp\u003eThe page lists various versions of the \u003ccode\u003eDeadlineExceededException\u003c/code\u003e class, from version 2.7.1 up to the latest 2.63.1, providing links to the documentation for each.\u003c/p\u003e\n"],["\u003cp\u003eInherited methods from \u003ccode\u003eApiException\u003c/code\u003e, \u003ccode\u003eObject\u003c/code\u003e, and \u003ccode\u003eThrowable\u003c/code\u003e are documented here, expanding on the capabilities of the \u003ccode\u003eDeadlineExceededException\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]