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 documentation for \u003ccode\u003eApiExceptions\u003c/code\u003e, a utility class in the Google API client library for Java that is used for handling \u003ccode\u003eApiException\u003c/code\u003e objects.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eApiExceptions\u003c/code\u003e documentation available is 2.63.1, with numerous prior versions also linked for reference, as low as version 2.7.1.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eApiExceptions\u003c/code\u003e extends the \u003ccode\u003ejava.lang.Object\u003c/code\u003e class and inherits methods like \u003ccode\u003eclone\u003c/code\u003e, \u003ccode\u003eequals\u003c/code\u003e, and \u003ccode\u003egetClass\u003c/code\u003e from it.\u003c/p\u003e\n"],["\u003cp\u003eThe class contains a static method, \u003ccode\u003ecallAndTranslateApiException\u003c/code\u003e, which processes exceptions thrown by an \u003ccode\u003eApiFuture\u003c/code\u003e to either rethrow a \u003ccode\u003eRuntimeException\u003c/code\u003e or rethrow an \u003ccode\u003eUncheckedExecutionException\u003c/code\u003e, with added debugging information, if relevant.\u003c/p\u003e\n"]]],[],null,[]]