This exception is used to preserve the caller's stacktrace when invoking an async task in a sync
context. It will be added as a suppressed exception when propagating the async exception. This
allows callers to catch ApiException thrown in an async operation, while still maintaining the
call site.
[[["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-08-15 UTC."],[[["\u003cp\u003eThis webpage details the \u003ccode\u003eAsyncTaskException\u003c/code\u003e class within the Google API Client Library for Java.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAsyncTaskException\u003c/code\u003e is used to preserve the stack trace of the caller when invoking an asynchronous task in a synchronous context.\u003c/p\u003e\n"],["\u003cp\u003eThe exception is added as a suppressed exception when propagating an async exception, allowing callers to catch an \u003ccode\u003eApiException\u003c/code\u003e from an async operation while keeping the original call site.\u003c/p\u003e\n"],["\u003cp\u003eThe page lists various versions of the library, starting with version 2.17.0 and going up to the latest version 2.63.1.\u003c/p\u003e\n"],["\u003cp\u003eThe provided documentation also includes a comprehensive list of inherited members from \u003ccode\u003eObject\u003c/code\u003e and \u003ccode\u003eThrowable\u003c/code\u003e classes.\u003c/p\u003e\n"]]],[],null,[]]