org.libvirt
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.ErrorDomain | VIR_FROM_CONF
Error in the configuration file handling |
static Error.ErrorDomain | VIR_FROM_DOM
Error when operating on a domain |
static Error.ErrorDomain | VIR_FROM_LXC
Error from Linux Container driver |
static Error.ErrorDomain | VIR_FROM_NET
Error when operating on a network |
static Error.ErrorDomain | VIR_FROM_NONE |
static Error.ErrorDomain | VIR_FROM_OPENVZ
Error from OpenVZ driver |
static Error.ErrorDomain | VIR_FROM_PROXY
Error in the proxy code |
static Error.ErrorDomain | VIR_FROM_QEMU
Error at the QEMU daemon |
static Error.ErrorDomain | VIR_FROM_REMOTE
Error from remote driver |
static Error.ErrorDomain | VIR_FROM_RPC
Error in the XML-RPC code |
static Error.ErrorDomain | VIR_FROM_SEXPR
Error in the S-Epression code |
static Error.ErrorDomain | VIR_FROM_STATS_LINUX
Error in the Linux Stats code |
static Error.ErrorDomain | VIR_FROM_STORAGE
Error from storage driver |
static Error.ErrorDomain | VIR_FROM_TEST
Error from test driver |
static Error.ErrorDomain | VIR_FROM_XEN
Error at Xen hypervisor layer |
static Error.ErrorDomain | VIR_FROM_XEND
Error at connection with xend daemon |
static Error.ErrorDomain | VIR_FROM_XENSTORE
Error at connection with xen store |
static Error.ErrorDomain | VIR_FROM_XENXM
Error at Xen XM layer |
static Error.ErrorDomain | VIR_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.ErrorDomain | valueOf(String name) Static factory to return the enum constant pertaining to the given string name. |
for(ErrorDomain c : ErrorDomain.VALUES) System.out.println(c);
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.
Throws: IllegalArgumentException if this enum class has no constant with the specified name.