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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-01 UTC."],[[["This webpage provides documentation for the `AsyncTaskException` class within the Google API Client Library for Java."],["The `AsyncTaskException` is a `RuntimeException` used to preserve the stack trace when invoking an asynchronous task in a synchronous context."],["The latest version documented is 2.63.1, and it lists documentation for versions down to 2.7.1 of `AsyncTaskException`."],["`AsyncTaskException` maintains the call site information, allowing callers to catch `ApiException` thrown in asynchronous operations."],["The page includes links to the documentation for inherited members from `Object` and `Throwable` classes."]]],[]]