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-03-21 UTC."],[[["The webpage provides documentation for the `AsyncTaskException` class within the Google API Client Library for Java (gax)."],["`AsyncTaskException` is a custom exception class, extending `RuntimeException`, designed to maintain the caller's stack trace when an asynchronous task is executed in a synchronous context."],["This exception will be suppressed and propagated when an exception occurs during an asynchronous process, enabling developers to catch `ApiException` while still pinpointing the call site."],["The documentation includes a comprehensive list of available versions for the `AsyncTaskException`, ranging from the latest [2.63.1] down to [2.7.1], each with links to their respective API documentation."],["The documentation also details inherited members of `AsyncTaskException`, including methods from `Object` and `Throwable` classes, providing a full picture of the class's capabilities and methods."]]],[]]