public void run() { try { if (headOnly) { result = storageService.getObjectDetails( bucketName, objectKey, null, null, null, null); } else { result = storageService.getObject( bucketName, objectKey); } } catch (ServiceException e) { if (this.errorPermitter != null && this.errorPermitter.isPermitted(e)) { result = new ThrowableBearingStorageObject(this.objectKey, e); } else { result = e; } } }
public void run() { try { if (headOnly) { result = storageService.getObjectDetails( bucketName, objectKey, null, null, null, null); } else { result = storageService.getObject( bucketName, objectKey); } } catch (ServiceException e) { if (this.errorPermitter != null && this.errorPermitter.isPermitted(e)) { result = new ThrowableBearingStorageObject(this.objectKey, e); } else { result = e; } } }
if (this.errorPermitter != null && this.errorPermitter.isPermitted(t)) { result = new ThrowableBearingStorageObject(this.objectKey, t); } else {
if (this.errorPermitter != null && this.errorPermitter.isPermitted(t)) { result = new ThrowableBearingStorageObject(this.objectKey, t); } else {