Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.xensource.xenapi
Class Types.VmBadPowerState

    java.lang.Object
      java.lang.Throwable
          java.lang.Exception
              java.io.IOException
                  com.xensource.xenapi.Types.XenAPIException
                      com.xensource.xenapi.Types.VmBadPowerState

All Implemented Interfaces:
  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
`String` | `actual`
`String` | `expected`
`String` | `vm`

Fields inherited from class com.xensource.xenapi.Types.XenAPIException
`errorDescription, shortDescription`

Constructor Summary
`Types.VmBadPowerState(String vm, String expected, 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 String vm

### expected

    public final String expected

### actual

    public final String actual

Constructor Detail

### Types.VmBadPowerState

    public Types.VmBadPowerState(String vm,
                                 String expected,
                                 String actual)

  Create a new VmBadPowerState

  Parameters:
    `vm` -
    `expected` -
    `actual` -

Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD