Invokes ApiFuture#get() on the given future, and if the call throws an exception (which
will be UncheckedExecutionException), the exception is processed in the following way:
If the exception cause is a RuntimeException, the RuntimeException is rethrown. To ease
debugging, the a AsyncTaskException is 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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-15 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eApiExceptions\u003c/code\u003e utility class in the Google API client library for Java, specifically within the \u003ccode\u003ecom.google.api.gax.rpc\u003c/code\u003e package.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version documented is 2.63.1, and the page lists links to documentation for numerous previous versions, ranging back to 2.7.1.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eApiExceptions\u003c/code\u003e is used for handling \u003ccode\u003eApiException\u003c/code\u003e instances, as well as invoking and translating exceptions from \u003ccode\u003eApiFuture\u003c/code\u003e objects.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits standard methods from \u003ccode\u003ejava.lang.Object\u003c/code\u003e, such as \u003ccode\u003eequals()\u003c/code\u003e, \u003ccode\u003ehashCode()\u003c/code\u003e, and \u003ccode\u003etoString()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eOne static method is detailed: \u003ccode\u003ecallAndTranslateApiException\u003c/code\u003e, which processes exceptions thrown by \u003ccode\u003eApiFuture#get()\u003c/code\u003e and either rethrows the cause if it's a \u003ccode\u003eRuntimeException\u003c/code\u003e or rethrows the \u003ccode\u003eUncheckedExecutionException\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]