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 webpage lists the versions of `AsyncTaskException`, with version 2.63.1 being the most recent."],["`AsyncTaskException` is a Java exception class that extends `RuntimeException` and is designed to retain the caller's stack trace when an asynchronous task is executed in a synchronous context."],["This class preserves the call site information, allowing users to catch an `ApiException` originating from an asynchronous operation."],["The webpage provides direct links to the documentation for each version of `AsyncTaskException`."],["The page also includes a detailed list of inherited methods from `Object` and `Throwable` classes."]]],[]]