org.libvirt

Class Error.ErrorDomain

public static class Error.ErrorDomain extends Enum<Error.ErrorDomain>

Field Summary
static List<Error.ErrorDomain>VALUES
An immutable list containing the values comprising this enum class in the order they're declared.
static Error.ErrorDomainVIR_FROM_CONF
Error in the configuration file handling
static Error.ErrorDomainVIR_FROM_DOM
Error when operating on a domain
static Error.ErrorDomainVIR_FROM_LXC
Error from Linux Container driver
static Error.ErrorDomainVIR_FROM_NET
Error when operating on a network
static Error.ErrorDomainVIR_FROM_NONE
static Error.ErrorDomainVIR_FROM_OPENVZ
Error from OpenVZ driver
static Error.ErrorDomainVIR_FROM_PROXY
Error in the proxy code
static Error.ErrorDomainVIR_FROM_QEMU
Error at the QEMU daemon
static Error.ErrorDomainVIR_FROM_REMOTE
Error from remote driver
static Error.ErrorDomainVIR_FROM_RPC
Error in the XML-RPC code
static Error.ErrorDomainVIR_FROM_SEXPR
Error in the S-Epression code
static Error.ErrorDomainVIR_FROM_STATS_LINUX
Error in the Linux Stats code
static Error.ErrorDomainVIR_FROM_STORAGE
Error from storage driver
static Error.ErrorDomainVIR_FROM_TEST
Error from test driver
static Error.ErrorDomainVIR_FROM_XEN
Error at Xen hypervisor layer
static Error.ErrorDomainVIR_FROM_XEND
Error at connection with xend daemon
static Error.ErrorDomainVIR_FROM_XENSTORE
Error at connection with xen store
static Error.ErrorDomainVIR_FROM_XENXM
Error at Xen XM layer
static Error.ErrorDomainVIR_FROM_XML
Error in the XML code
Method Summary
List<Error.ErrorDomain>family()
Returns an immutable list containing the values comprising this enum class in the order they're declared.
static Error.ErrorDomainvalueOf(String name)
Static factory to return the enum constant pertaining to the given string name.

Field Detail

VALUES

public static final List<Error.ErrorDomain> VALUES
An immutable list containing the values comprising this enum class in the order they're declared. This field may be used to iterate over the constants as follows:
for(ErrorDomain c : ErrorDomain.VALUES)
    System.out.println(c);

VIR_FROM_CONF

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

VIR_FROM_DOM

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

VIR_FROM_LXC

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

VIR_FROM_NET

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

VIR_FROM_NONE

public static final Error.ErrorDomain VIR_FROM_NONE

VIR_FROM_OPENVZ

public static final Error.ErrorDomain VIR_FROM_OPENVZ
Error from OpenVZ driver

VIR_FROM_PROXY

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

VIR_FROM_QEMU

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

VIR_FROM_REMOTE

public static final Error.ErrorDomain VIR_FROM_REMOTE
Error from remote driver

VIR_FROM_RPC

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

VIR_FROM_SEXPR

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

VIR_FROM_STATS_LINUX

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

VIR_FROM_STORAGE

public static final Error.ErrorDomain VIR_FROM_STORAGE
Error from storage driver

VIR_FROM_TEST

public static final Error.ErrorDomain VIR_FROM_TEST
Error from test driver

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_XENXM

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

VIR_FROM_XML

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

Method Detail

family

public final List<Error.ErrorDomain> family()
Returns an immutable list containing the values comprising this enum class in the order they're declared. This instance method simply returns VALUES. Few programmers should have any need to use this method. It is provided for use by sophisticated enum-based data structures to prevent the need for reflective access to VALUES.

Returns: an immutable list containing the values comprising this enum class, in the order they're declared.

valueOf

public static final Error.ErrorDomain valueOf(String name)
Static factory to return the enum constant pertaining to the given string name. The string must match exactly an identifier used to declare an enum constant in this type.

Throws: IllegalArgumentException if this enum class has no constant with the specified name.