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-08-15 UTC."],[[["\u003cp\u003eThe latest version available for \u003ccode\u003eAsyncTaskException\u003c/code\u003e is 2.63.1, with many older versions also accessible.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAsyncTaskException\u003c/code\u003e is a subclass of \u003ccode\u003eRuntimeException\u003c/code\u003e used to maintain the original stack trace when an asynchronous task is invoked in a synchronous context.\u003c/p\u003e\n"],["\u003cp\u003eThis exception, \u003ccode\u003eAsyncTaskException\u003c/code\u003e, preserves the call site by being added as a suppressed exception when the async exception is propagated.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits many methods from \u003ccode\u003eObject\u003c/code\u003e and \u003ccode\u003eThrowable\u003c/code\u003e, including functionalities like \u003ccode\u003eclone()\u003c/code\u003e, \u003ccode\u003eequals()\u003c/code\u003e, \u003ccode\u003egetMessage()\u003c/code\u003e, and \u003ccode\u003egetStackTrace()\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]