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-04-09 UTC."],[[["This webpage details the `AsyncTaskException` class within the Google API Client Library for Java."],["The `AsyncTaskException` is used to maintain the caller's stack trace when a synchronous context invokes an asynchronous task."],["When an asynchronous exception is propagated, `AsyncTaskException` will be added as a suppressed exception to help callers catch `ApiException` while preserving the origin of the call site."],["The page lists various versions of the library, starting with the latest version 2.63.1 down to version 2.7.1, each linking to the `AsyncTaskException` documentation for that specific release."],["It also lists the inherited members of the `Object` and `Throwable` classes relevant to the `AsyncTaskException` class."]]],[]]