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 latest version available is 2.63.1, as indicated by the `(latest)` tag in the provided list of versions."],["This page details the `AsyncTaskException` class, which is designed to preserve the original stack trace when an asynchronous task is invoked within a synchronous context."],["`AsyncTaskException` is a subclass of `RuntimeException` and includes functionality to be added as a suppressed exception when an async exception propagates."],["A range of previous versions of the documentation are available, from 2.24.0 to the latest 2.63.1, including several minor releases."],["The documentation also provides links to the inherited members of the `Object` and `Throwable` classes, which are associated with `AsyncTaskException`."]]],[]]