waits for this transfer to finish and returns any error that occurred , or returns null if no errors occurred . this is a blocking call ; the current thread will be suspended until this transfer either fails or completes successfully . concode_field_sep TransferState state concode_elem_sep Collection<TransferStateChangeListener> stateChangeListeners concode_elem_sep String description concode_elem_sep TransferMonitor monitor concode_elem_sep TransferProgress transferProgress concode_elem_sep ProgressListenerChain listenerChain concode_field_sep void removeStateChangeListener concode_elem_sep void removeProgressListener 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 void fireProgressEvent concode_elem_sep AmazonClientException unwrapExecutionException 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 void addProgressListener concode_elem_sep TransferMonitor getMonitor concode_elem_sep void notifyStateChangeListeners concode_elem_sep void rethrowExecutionException
AmazonClientException function ( ) { try { while ( ! monitor . isDone ( ) ) { monitor . getFuture ( ) . get ( ) ; } monitor . getFuture ( ) . get ( ) ; return null ; } catch ( ExecutionException loc0 ) { return unwrapExecutionException ( loc0 ) ; } }