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-09-04 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eAsyncTaskException\u003c/code\u003e class is a \u003ccode\u003eRuntimeException\u003c/code\u003e used to preserve the caller's stack trace when invoking an asynchronous task in a synchronous context.\u003c/p\u003e\n"],["\u003cp\u003eThis exception is added as a suppressed exception when propagating the asynchronous exception, allowing callers to catch \u003ccode\u003eApiException\u003c/code\u003e from an async operation while preserving the call site.\u003c/p\u003e\n"],["\u003cp\u003eThe page provides a history of versions for \u003ccode\u003eAsyncTaskException\u003c/code\u003e class from 2.7.1 up to the latest version 2.63.1, detailing the various versions in between.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits members from the Object and Throwable class, allowing for methods such as adding suppressed exceptions and getting stack traces.\u003c/p\u003e\n"]]],[],null,[]]