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-07-01 UTC."],[[["This page provides documentation for the `AsyncTaskException` class within the Google API Client Libraries for Java, focusing on versions from 2.20.0 to 2.63.1."],["`AsyncTaskException` is a `RuntimeException` designed to maintain the caller's stack trace when an asynchronous task is run within a synchronous context."],["The `AsyncTaskException` class is essential for preserving the context of where an error occurred during an async task."],["The latest version documented is 2.63.1, and it goes back to 2.7.1 while displaying all the version inbetween."],["The documentation also includes inherited members from the `Object` and `Throwable` classes, offering a comprehensive view of the class's functionalities."]]],[]]