org.libvirt
public static class Error.ErrorNumber extends Enum<Error.ErrorNumber>
Field Summary | |
---|---|
static List<Error.ErrorNumber> | VALUES An immutable list containing the values comprising this enum class in the order they're declared. |
static Error.ErrorNumber | VIR_ERR_AUTH_FAILED
authentication failed |
static Error.ErrorNumber | VIR_ERR_CALL_FAILED
not supported by the drivers (DEPRECATED) |
static Error.ErrorNumber | VIR_ERR_CONF_SYNTAX
failed to parse the syntax of a conf file |
static Error.ErrorNumber | VIR_ERR_DOM_EXIST
the domain already exist |
static Error.ErrorNumber | VIR_ERR_DRIVER_FULL
too many drivers registered |
static Error.ErrorNumber | VIR_ERR_GET_FAILED
a HTTP GET command to failed |
static Error.ErrorNumber | VIR_ERR_GNUTLS_ERROR
error from a GNUTLS call |
static Error.ErrorNumber | VIR_ERR_HTTP_ERROR
unexpected HTTP error code |
static Error.ErrorNumber | VIR_ERR_INTERNAL_ERROR
internal error |
static Error.ErrorNumber | VIR_ERR_INVALID_ARG
invalid function argument |
static Error.ErrorNumber | VIR_ERR_INVALID_CONN
invalid connection object |
static Error.ErrorNumber | VIR_ERR_INVALID_DOMAIN
invalid domain object |
static Error.ErrorNumber | VIR_ERR_INVALID_MAC
invalid MAC adress |
static Error.ErrorNumber | VIR_ERR_INVALID_NETWORK
invalid network object |
static Error.ErrorNumber | VIR_ERR_INVALID_STORAGE_POOL
invalid storage pool object |
static Error.ErrorNumber | VIR_ERR_INVALID_STORAGE_VOL
invalid storage vol object |
static Error.ErrorNumber | VIR_ERR_NETWORK_EXIST
the network already exist |
static Error.ErrorNumber | VIR_ERR_NO_CONNECT
can't connect to hypervisor |
static Error.ErrorNumber | VIR_ERR_NO_DEVICE
missing domain devices information |
static Error.ErrorNumber | VIR_ERR_NO_DOMAIN
omain not found or unexpectedly disappeared |
static Error.ErrorNumber | VIR_ERR_NO_KERNEL
missing kernel information |
static Error.ErrorNumber | VIR_ERR_NO_MEMORY
memory allocation failure |
static Error.ErrorNumber | VIR_ERR_NO_NAME
missing domain name information |
static Error.ErrorNumber | VIR_ERR_NO_NETWORK
network not found |
static Error.ErrorNumber | VIR_ERR_NO_OS
missing domain OS information |
static Error.ErrorNumber | VIR_ERR_NO_ROOT
missing root device information |
static Error.ErrorNumber | VIR_ERR_NO_SOURCE
missing source device information |
static Error.ErrorNumber | VIR_ERR_NO_STORAGE_POOL
storage pool not found |
static Error.ErrorNumber | VIR_ERR_NO_STORAGE_VOL
storage pool not found |
static Error.ErrorNumber | VIR_ERR_NO_SUPPORT
no support for this function |
static Error.ErrorNumber | VIR_ERR_NO_TARGET
missing target device information |
static Error.ErrorNumber | VIR_ERR_NO_XEN
could not open Xen hypervisor control |
static Error.ErrorNumber | VIR_ERR_NO_XENSTORE
could not open Xen Store control |
static Error.ErrorNumber | VIR_ERR_OK |
static Error.ErrorNumber | VIR_ERR_OPEN_FAILED
failed to open a conf file |
static Error.ErrorNumber | VIR_ERR_OPERATION_DENIED
operation forbidden on read-only connections |
static Error.ErrorNumber | VIR_ERR_OPERATION_FAILED
a command to hypervisor failed |
static Error.ErrorNumber | VIR_ERR_OS_TYPE
unknown OS type |
static Error.ErrorNumber | VIR_ERR_PARSE_FAILED
failed to parse a conf file |
static Error.ErrorNumber | VIR_ERR_POST_FAILED
a HTTP POST command to failed |
static Error.ErrorNumber | VIR_ERR_READ_FAILED
failed to read a conf file |
static Error.ErrorNumber | VIR_ERR_RPC
some sort of RPC error |
static Error.ErrorNumber | VIR_ERR_SEXPR_SERIAL
failure to serialize an S-Expr |
static Error.ErrorNumber | VIR_ERR_SYSTEM_ERROR
general system call failure |
static Error.ErrorNumber | VIR_ERR_UNKNOWN_HOST
could not resolve hostname |
static Error.ErrorNumber | VIR_ERR_WRITE_FAILED
failed to write a conf file |
static Error.ErrorNumber | VIR_ERR_XEN_CALL
failure doing an hypervisor call |
static Error.ErrorNumber | VIR_ERR_XML_DETAIL
detail of an XML error |
static Error.ErrorNumber | VIR_ERR_XML_ERROR
an XML description is not well formed or broken |
static Error.ErrorNumber | VIR_WAR_NO_NETWORK
failed to start network |
static Error.ErrorNumber | VIR_WAR_NO_STORAGE
failed to start storage |
Method Summary | |
---|---|
List<Error.ErrorNumber> | family() Returns an immutable list containing the values comprising this enum class in the order they're declared. |
static Error.ErrorNumber | valueOf(String name) Static factory to return the enum constant pertaining to the given string name. |
for(ErrorNumber c : ErrorNumber.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.