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 latest version available is 2.63.1, representing the most up-to-date release in the provided list of versions."],["This page details the `AsyncTaskException` class, which is utilized in Java to manage exceptions arising from asynchronous tasks executed in a synchronous context."],["`AsyncTaskException` extends `RuntimeException` and is designed to preserve the original caller's stack trace."],["The `AsyncTaskException` can be caught to manage `ApiException` issues arising from async operations, and it will maintain the call site, which improves debugging."],["The page also displays a comprehensive list of inherited methods from `Object` and `Throwable` classes, along with links to their detailed descriptions in the Java documentation."]]],[]]