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-15 UTC."],[[["The latest version available is 2.63.1, but there are numerous older versions accessible on the page, starting from version 2.62.0 down to 2.7.1."],["`AsyncTaskException` is a class that extends `RuntimeException`, specifically designed to maintain the caller's stacktrace during synchronous invocation of asynchronous tasks."],["When an asynchronous exception occurs, `AsyncTaskException` is added as a suppressed exception, enabling the capture of `ApiException` while retaining the original call site information."],["The page lists the inherited members of the `Object` and `Throwable` classes that are available to the `AsyncTaskException` class, including methods like `clone()`, `equals(Object)`, `getMessage()`, `printStackTrace()`, and `addSuppressed(Throwable)`."]]],[]]