Skip to content
Browse files

fix ex propagation

  • Loading branch information...
1 parent 815c4c7 commit a0eac1aaf14723800873706a99314e684fb6d359 @grze grze committed Jan 8, 2012
View
2 clc/modules/cluster-manager/src/main/java/com/eucalyptus/blockstorage/VolumeManager.java
@@ -168,7 +168,7 @@ public Volume apply( Long size ) {
try {
return Volumes.createStorageVolume( sc, owner, snapId, Ints.checkedCast( size ), request );
} catch ( ExecutionException ex ) {
- throw new RuntimeException( ex );
+ throw Exceptions.toUndeclared( ex );
}
}};
Volume newVol = RestrictedTypes.allocateMeasurableResource( newSize.longValue( ), allocator );

0 comments on commit a0eac1a

Please sign in to comment.
Something went wrong with that request. Please try again.