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."],[[["The webpage provides documentation for the `AsyncTaskException` class in the Google API Client Library for Java, focusing on its role in handling exceptions from asynchronous tasks."],["`AsyncTaskException` is a `RuntimeException` that maintains the caller's stack trace when an asynchronous task is executed within a synchronous context."],["The documentation includes links to various versions of the library, with the latest version being 2.63.1, and going back as far as 2.7.1."],["This exception is designed to preserve the call site's context, even when an `ApiException` is thrown during an async operation."],["The page also shows the inherited members from the `Object` and `Throwable` classes, detailing methods like `clone()`, `equals()`, and `printStackTrace()` that are available to `AsyncTaskException`."]]],[]]