org.libvirt
Enum Error.ErrorDomain

java.lang.Object
  extended by java.lang.Enum<Error.ErrorDomain>
      extended by org.libvirt.Error.ErrorDomain
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Error.ErrorDomain>
Enclosing class:
Error

public static enum Error.ErrorDomain
extends java.lang.Enum<Error.ErrorDomain>


Enum Constant Summary
VIR_FROM_CONF
          Error in the configuration file handling
VIR_FROM_DOM
          Error when operating on a domain
VIR_FROM_LXC
          Error from Linux Container driver
VIR_FROM_NET
          Error when operating on a network
VIR_FROM_NONE
           
VIR_FROM_OPENVZ
          Error from OpenVZ driver
VIR_FROM_PROXY
          Error in the proxy code
VIR_FROM_QEMU
          Error at the QEMU daemon
VIR_FROM_REMOTE
          Error from remote driver
VIR_FROM_RPC
          Error in the XML-RPC code
VIR_FROM_SEXPR
          Error in the S-Epression code
VIR_FROM_STATS_LINUX
          Error in the Linux Stats code
VIR_FROM_STORAGE
          Error from storage driver
VIR_FROM_TEST
          Error from test driver
VIR_FROM_XEN
          Error at Xen hypervisor layer
VIR_FROM_XEND
          Error at connection with xend daemon
VIR_FROM_XENSTORE
          Error at connection with xen store
VIR_FROM_XENXM
          Error at Xen XM layer
VIR_FROM_XML
          Error in the XML code
 
Method Summary
static Error.ErrorDomain valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Error.ErrorDomain[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

VIR_FROM_NONE

public static final Error.ErrorDomain VIR_FROM_NONE

VIR_FROM_XEN

public static final Error.ErrorDomain VIR_FROM_XEN
Error at Xen hypervisor layer


VIR_FROM_XEND

public static final Error.ErrorDomain VIR_FROM_XEND
Error at connection with xend daemon


VIR_FROM_XENSTORE

public static final Error.ErrorDomain VIR_FROM_XENSTORE
Error at connection with xen store


VIR_FROM_SEXPR

public static final Error.ErrorDomain VIR_FROM_SEXPR
Error in the S-Epression code


VIR_FROM_XML

public static final Error.ErrorDomain VIR_FROM_XML
Error in the XML code


VIR_FROM_DOM

public static final Error.ErrorDomain VIR_FROM_DOM
Error when operating on a domain


VIR_FROM_RPC

public static final Error.ErrorDomain VIR_FROM_RPC
Error in the XML-RPC code


VIR_FROM_PROXY

public static final Error.ErrorDomain VIR_FROM_PROXY
Error in the proxy code


VIR_FROM_CONF

public static final Error.ErrorDomain VIR_FROM_CONF
Error in the configuration file handling


VIR_FROM_QEMU

public static final Error.ErrorDomain VIR_FROM_QEMU
Error at the QEMU daemon


VIR_FROM_NET

public static final Error.ErrorDomain VIR_FROM_NET
Error when operating on a network


VIR_FROM_TEST

public static final Error.ErrorDomain VIR_FROM_TEST
Error from test driver


VIR_FROM_REMOTE

public static final Error.ErrorDomain VIR_FROM_REMOTE
Error from remote driver


VIR_FROM_OPENVZ

public static final Error.ErrorDomain VIR_FROM_OPENVZ
Error from OpenVZ driver


VIR_FROM_XENXM

public static final Error.ErrorDomain VIR_FROM_XENXM
Error at Xen XM layer


VIR_FROM_STATS_LINUX

public static final Error.ErrorDomain VIR_FROM_STATS_LINUX
Error in the Linux Stats code


VIR_FROM_LXC

public static final Error.ErrorDomain VIR_FROM_LXC
Error from Linux Container driver


VIR_FROM_STORAGE

public static final Error.ErrorDomain VIR_FROM_STORAGE
Error from storage driver

Method Detail

values

public static Error.ErrorDomain[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Error.ErrorDomain c : Error.ErrorDomain.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Error.ErrorDomain valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null