InvokesApiFuture#get()on the given future, and if the call throws an exception (which
will beUncheckedExecutionException), the exception is processed in the following way:
If the exception cause is a RuntimeException, the RuntimeException is rethrown. To ease
debugging, the aAsyncTaskExceptionis added as a suppressed exception to
maintain the callsite.
Otherwise, the UncheckedExecutionException is rethrown.
[[["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 latest version of the API documentation available is 2.63.1, while the displayed documentation corresponds to version 2.49.0, with a range of versions between 2.7.1 and 2.63.1 also available.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eApiExceptions\u003c/code\u003e is a utility class for managing and working with \u003ccode\u003eApiException\u003c/code\u003e, as part of the Google API client libraries for Java.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eApiExceptions\u003c/code\u003e provides a method called \u003ccode\u003ecallAndTranslateApiException\u003c/code\u003e, which handles exceptions thrown by an \u003ccode\u003eApiFuture\u003c/code\u003e when calling \u003ccode\u003eget()\u003c/code\u003e on it, rethrowing any \u003ccode\u003eRuntimeException\u003c/code\u003e and adding \u003ccode\u003eAsyncTaskException\u003c/code\u003e as a suppressed exception.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eApiExceptions\u003c/code\u003e extends the base class \u003ccode\u003ejava.lang.Object\u003c/code\u003e, and therefore inherits base object methods like \u003ccode\u003eclone\u003c/code\u003e, \u003ccode\u003eequals\u003c/code\u003e, \u003ccode\u003ehashCode\u003c/code\u003e, and \u003ccode\u003etoString\u003c/code\u003e, which are outlined in the inherited members section.\u003c/p\u003e\n"]]],[],null,[]]