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-04-17 UTC."],[[["The webpage provides documentation for the `AsyncTaskException` class within the Google API Client Libraries for Java (gax) library, spanning multiple versions."],["The latest version of `AsyncTaskException` documented is 2.63.1, and the page lists versions from 2.63.1 down to 2.7.1."],["`AsyncTaskException` extends `RuntimeException` and is designed to preserve the caller's stack trace when async tasks are invoked in a synchronous context."],["This exception is used to handle exceptions occurring within async operations, ensuring that the original call site remains traceable when an `ApiException` is thrown."],["The documentation includes a list of inherited members from `Object` and `Throwable`, providing links to the corresponding Oracle Java documentation for each member."]]],[]]