unwraps the root exception that caused the specified executionexception and returns it . if it was not an instance of amazonclientexception , it is wrapped as an amazonclientexception . concode_field_sep TransferState state concode_elem_sep Collection<TransferStateChangeListener> stateChangeListeners concode_elem_sep String description concode_elem_sep ProgressListenerChain progressListenerChain concode_elem_sep TransferMonitor monitor concode_elem_sep TransferProgress transferProgress concode_field_sep AmazonClientException waitForException concode_elem_sep void removeStateChangeListener concode_elem_sep void removeProgressListener concode_elem_sep void waitForCompletion concode_elem_sep boolean isDone concode_elem_sep String getDescription concode_elem_sep TransferProgress getProgress concode_elem_sep TransferState getState concode_elem_sep void addStateChangeListener concode_elem_sep void setMonitor concode_elem_sep void setState concode_elem_sep void addProgressListener concode_elem_sep TransferMonitor getMonitor concode_elem_sep void rethrowExecutionException
AmazonClientException function ( ExecutionException arg0 ) { Throwable loc0 = arg0 . getCause ( ) ; if ( loc0 instanceof AmazonClientException ) return ( AmazonClientException ) loc0 ; return new AmazonClientException ( "srini_string" + loc0 . getMessage ( ) , loc0 ) ; }