hu.mta.sztaki.lpds.cloud.simulator.iaas
Class VirtualMachine.StateChangeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by hu.mta.sztaki.lpds.cloud.simulator.iaas.VMManager.VMManagementException
              extended by hu.mta.sztaki.lpds.cloud.simulator.iaas.VirtualMachine.StateChangeException
All Implemented Interfaces:
Serializable
Enclosing class:
VirtualMachine

public static class VirtualMachine.StateChangeException
extends VMManager.VMManagementException

This class is defined to ensure one can differentiate errors that were caused because the functions on the VM class are called in an improper order. E.g. migration cannot be done if the VM is not running already.

Author:
"Gabor Kecskemeti, Distributed and Parallel Systems Group, University of Innsbruck (c) 2013"
See Also:
Serialized Form

Field Summary
private static long serialVersionUID
           
 
Constructor Summary
VirtualMachine.StateChangeException(String e)
          The constructor allows a textual message so users of this class can see the reason of the exception more clearly without debugging.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

VirtualMachine.StateChangeException

public VirtualMachine.StateChangeException(String e)
The constructor allows a textual message so users of this class can see the reason of the exception more clearly without debugging.

Parameters:
e - the message to be sent for the users of the simulator


Copyright © 2012–2015 University of Innsbruck & MTA SZTAKI. All rights reserved.