com.xensource.xenapi
Class Types.VmRequiresSr

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.VmRequiresSr
All Implemented Interfaces:
Serializable
Enclosing class:
Types

public static class Types.VmRequiresSr
extends Types.XenAPIException

You attempted to run a VM on a host which doesn't have access to an SR needed by the VM. The VM has at least one VBD attached to a VDI in the SR.

See Also:
Serialized Form

Field Summary
 String sr
           
 String vm
           
 
Fields inherited from class com.xensource.xenapi.Types.XenAPIException
errorDescription, shortDescription
 
Constructor Summary
Types.VmRequiresSr(String vm, String sr)
          Create a new VmRequiresSr
 
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

sr

public final String sr
Constructor Detail

Types.VmRequiresSr

public Types.VmRequiresSr(String vm,
                          String sr)
Create a new VmRequiresSr

Parameters:
vm -
sr -