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"]],[["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-07-01 UTC."],[[["This webpage provides documentation for the `ApiExceptions` utility class in the Google API client library for Java, which is used for handling `ApiException`."],["The latest version of `ApiExceptions` documented is 2.63.1, and the page lists historical versions ranging down to version 2.7.1 for users who need to refer to older versions."],["The `ApiExceptions` class inherits from `java.lang.Object` and provides static methods, notably the `callAndTranslateApiException` method, for handling exceptions from `ApiFuture` calls."],["The `callAndTranslateApiException` method is designed to process exceptions thrown by `ApiFuture#get()`, rethrowing them or wrapping them with a `AsyncTaskException` for better debugging."]]],[]]