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 webpage provides a comprehensive list of versions for \u003ccode\u003eApiExceptions\u003c/code\u003e, ranging from the latest version 2.63.1 down to version 2.7.1.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eApiExceptions\u003c/code\u003e is described as a utility class designed for managing \u003ccode\u003eApiException\u003c/code\u003e within the Google API Client Library for Java.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eApiExceptions\u003c/code\u003e inherits several methods from \u003ccode\u003ejava.lang.Object\u003c/code\u003e, including \u003ccode\u003eclone()\u003c/code\u003e, \u003ccode\u003eequals(Object)\u003c/code\u003e, \u003ccode\u003efinalize()\u003c/code\u003e, \u003ccode\u003egetClass()\u003c/code\u003e, \u003ccode\u003ehashCode()\u003c/code\u003e, \u003ccode\u003enotify()\u003c/code\u003e, \u003ccode\u003enotifyAll()\u003c/code\u003e, \u003ccode\u003etoString()\u003c/code\u003e, \u003ccode\u003ewait()\u003c/code\u003e, and different flavors of \u003ccode\u003ewait()\u003c/code\u003e with time parameters.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ecallAndTranslateApiException\u003c/code\u003e static method handles exceptions from an \u003ccode\u003eApiFuture\u003c/code\u003e, rethrowing \u003ccode\u003eRuntimeException\u003c/code\u003e and adding an \u003ccode\u003eAsyncTaskException\u003c/code\u003e as a suppressed exception or rethrowing the \u003ccode\u003eUncheckedExecutionException\u003c/code\u003e if not a RuntimeException.\u003c/p\u003e\n"]]],[],null,[]]