if (businessObjectDataRestoreDto.getException() != null) throw businessObjectDataRestoreDto.getException();
if (businessObjectDataRestoreDto.getException() != null) throw businessObjectDataRestoreDto.getException();
assertNotNull(businessObjectDataRestoreDto.getException()); assertEquals(IllegalArgumentException.class, businessObjectDataRestoreDto.getException().getClass()); assertEquals(String.format("S3 file \"%s\" is not archived (found %s storage class when expecting %s). S3 Bucket Name: \"%s\"", S3_KEY, StorageClass.Standard.toString(), StorageClass.Glacier.toString(), S3_BUCKET_NAME), businessObjectDataRestoreDto.getException().getMessage()); businessObjectDataRestoreDto.setException(NO_EXCEPTION); assertEquals(new BusinessObjectDataRestoreDto(businessObjectDataKey, STORAGE_NAME, S3_ENDPOINT, S3_BUCKET_NAME, S3_KEY_PREFIX, NO_STORAGE_UNIT_STATUS,
theException = this.getException(); strategy.appendField(locator, this, "exception", buffer, theException, (this.exception!= null));
if (businessObjectDataRestoreDto.getException() != null)
if (businessObjectDataRestoreDto.getException() != null)
lhsException = this.getException(); RuntimeException rhsException; rhsException = that.getException(); if (!strategy.equals(LocatorUtils.property(thisLocator, "exception", lhsException), LocatorUtils.property(thatLocator, "exception", rhsException), lhsException, rhsException, (this.exception!= null), (that.exception!= null))) { return false;
theException = this.getException(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "exception", theException), currentHashCode, theException, (this.exception!= null));
if (exceptionShouldBeCopiedAndSet == Boolean.TRUE) { RuntimeException sourceException; sourceException = this.getException(); RuntimeException copyException = ((RuntimeException) strategy.copy(LocatorUtils.property(locator, "exception", sourceException), sourceException, (this.exception!= null))); copy.setException(copyException);