CopyObjectResultHandler copyObjectResultHandler = null;
try {
// TODO: Should we move some more of this logic into CopyObjectResponseHandler?
// For example, detecting the different failure modes?
ExecutionContext executionContext = new ExecutionContext(requestHandlers);
CopyObjectResponseHandler responseHandler = new CopyObjectResponseHandler();
copyObjectResultHandler = (CopyObjectResultHandler)client.execute(
request, responseHandler, errorResponseHandler, executionContext);
} catch (AmazonS3Exception ase) {
/*
* If the request failed because one of the specified constraints