@Override
            public ListDomainNamesResult call() throws Exception {
                ListDomainNamesResult result = null;

                try {
                    result = executeListDomainNames(finalRequest);
                } catch (Exception ex) {
                    if (asyncHandler != null) {
                        asyncHandler.onError(ex);
                    }
                    throw ex;
                }

                if (asyncHandler != null) {
                    asyncHandler.onSuccess(finalRequest, result);
                }
                return result;
            }
Simplified method form for invoking the DescribeDomains operation with an AsyncHandler.

@see #describeDomainsAsync(DescribeDomainsRequest, com.amazonaws.handlers.AsyncHandler)
aws-java-sdk-cloudsearch/src/main/java/com/amazonaws/services/cloudsearchv2/AmazonCloudSearchAsyncClient.java