com.xensource.xenapi
Class Types.VmBadPowerState

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by com.xensource.xenapi.Types.XenAPIException
                  extended by com.xensource.xenapi.Types.VmBadPowerState
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
Types

public static class Types.VmBadPowerState
extends Types.XenAPIException

You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running. The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.

See Also:
Serialized Form

Field Summary
 java.lang.String actual
           
 java.lang.String expected
           
 java.lang.String vm
           
 
Fields inherited from class com.xensource.xenapi.Types.XenAPIException
errorDescription, shortDescription
 
Constructor Summary
Types.VmBadPowerState(java.lang.String vm, java.lang.String expected, java.lang.String actual)
          Create a new VmBadPowerState
 
Method Summary
 
Methods inherited from class com.xensource.xenapi.Types.XenAPIException
toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

vm

public final java.lang.String vm

expected

public final java.lang.String expected

actual

public final java.lang.String actual
Constructor Detail

Types.VmBadPowerState

public Types.VmBadPowerState(java.lang.String vm,
                             java.lang.String expected,
                             java.lang.String actual)
Create a new VmBadPowerState

Parameters:
vm -
expected -
actual -