@@ -550,7 +550,7 @@ public VMSnapshot createVMSnapshot(Long vmId, Long vmSnapshotId, Boolean quiesce
550550 } catch (InterruptedException e ) {
551551 throw new RuntimeException ("Operation is interrupted" , e );
552552 } catch (java .util .concurrent .ExecutionException e ) {
553- throw new RuntimeException ("Execution excetion " , e );
553+ throw new CloudRuntimeException ("Execution exception getting the outcome of the asynchronous create VM snapshot job " , e );
554554 }
555555
556556 Object jobResult = _jobMgr .unmarshallResultObject (outcome .getJob ());
@@ -660,7 +660,7 @@ public boolean deleteVMSnapshot(Long vmSnapshotId) {
660660 } catch (InterruptedException e ) {
661661 throw new RuntimeException ("Operation is interrupted" , e );
662662 } catch (java .util .concurrent .ExecutionException e ) {
663- throw new RuntimeException ("Execution excetion " , e );
663+ throw new CloudRuntimeException ("Execution exception getting the outcome of the asynchronous delete VM snapshot job " , e );
664664 }
665665
666666 Object jobResult = _jobMgr .unmarshallResultObject (outcome .getJob ());
@@ -785,7 +785,7 @@ public UserVm revertToSnapshot(Long vmSnapshotId) throws InsufficientCapacityExc
785785 } catch (InterruptedException e ) {
786786 throw new RuntimeException ("Operation is interrupted" , e );
787787 } catch (java .util .concurrent .ExecutionException e ) {
788- throw new RuntimeException ("Execution excetion " , e );
788+ throw new CloudRuntimeException ("Execution exception getting the outcome of the asynchronous revert to snapshot job " , e );
789789 }
790790
791791 Object jobResult = _jobMgr .unmarshallResultObject (outcome .getJob ());
@@ -1036,7 +1036,7 @@ public boolean deleteAllVMSnapshots(long vmId, VMSnapshot.Type type) {
10361036 } catch (InterruptedException e ) {
10371037 throw new RuntimeException ("Operation is interrupted" , e );
10381038 } catch (java .util .concurrent .ExecutionException e ) {
1039- throw new RuntimeException ("Execution excetion " , e );
1039+ throw new CloudRuntimeException ("Execution exception getting the outcome of the asynchronous delete snapshots job " , e );
10401040 }
10411041
10421042 Object jobResult = _jobMgr .unmarshallResultObject (outcome .getJob ());
0 commit comments