org.libvirt

Class Error.ErrorNumber

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.ErrorNumberVIR_ERR_AUTH_FAILED
authentication failed
static Error.ErrorNumberVIR_ERR_CALL_FAILED
not supported by the drivers (DEPRECATED)
static Error.ErrorNumberVIR_ERR_CONF_SYNTAX
failed to parse the syntax of a conf file
static Error.ErrorNumberVIR_ERR_DOM_EXIST
the domain already exist
static Error.ErrorNumberVIR_ERR_DRIVER_FULL
too many drivers registered
static Error.ErrorNumberVIR_ERR_GET_FAILED
a HTTP GET command to failed
static Error.ErrorNumberVIR_ERR_GNUTLS_ERROR
error from a GNUTLS call
static Error.ErrorNumberVIR_ERR_HTTP_ERROR
unexpected HTTP error code
static Error.ErrorNumberVIR_ERR_INTERNAL_ERROR
internal error
static Error.ErrorNumberVIR_ERR_INVALID_ARG
invalid function argument
static Error.ErrorNumberVIR_ERR_INVALID_CONN
invalid connection object
static Error.ErrorNumberVIR_ERR_INVALID_DOMAIN
invalid domain object
static Error.ErrorNumberVIR_ERR_INVALID_MAC
invalid MAC adress
static Error.ErrorNumberVIR_ERR_INVALID_NETWORK
invalid network object
static Error.ErrorNumberVIR_ERR_INVALID_STORAGE_POOL
invalid storage pool object
static Error.ErrorNumberVIR_ERR_INVALID_STORAGE_VOL
invalid storage vol object
static Error.ErrorNumberVIR_ERR_NETWORK_EXIST
the network already exist
static Error.ErrorNumberVIR_ERR_NO_CONNECT
can't connect to hypervisor
static Error.ErrorNumberVIR_ERR_NO_DEVICE
missing domain devices information
static Error.ErrorNumberVIR_ERR_NO_DOMAIN
omain not found or unexpectedly disappeared
static Error.ErrorNumberVIR_ERR_NO_KERNEL
missing kernel information
static Error.ErrorNumberVIR_ERR_NO_MEMORY
memory allocation failure
static Error.ErrorNumberVIR_ERR_NO_NAME
missing domain name information
static Error.ErrorNumberVIR_ERR_NO_NETWORK
network not found
static Error.ErrorNumberVIR_ERR_NO_OS
missing domain OS information
static Error.ErrorNumberVIR_ERR_NO_ROOT
missing root device information
static Error.ErrorNumberVIR_ERR_NO_SOURCE
missing source device information
static Error.ErrorNumberVIR_ERR_NO_STORAGE_POOL
storage pool not found
static Error.ErrorNumberVIR_ERR_NO_STORAGE_VOL
storage pool not found
static Error.ErrorNumberVIR_ERR_NO_SUPPORT
no support for this function
static Error.ErrorNumberVIR_ERR_NO_TARGET
missing target device information
static Error.ErrorNumberVIR_ERR_NO_XEN
could not open Xen hypervisor control
static Error.ErrorNumberVIR_ERR_NO_XENSTORE
could not open Xen Store control
static Error.ErrorNumberVIR_ERR_OK
static Error.ErrorNumberVIR_ERR_OPEN_FAILED
failed to open a conf file
static Error.ErrorNumberVIR_ERR_OPERATION_DENIED
operation forbidden on read-only connections
static Error.ErrorNumberVIR_ERR_OPERATION_FAILED
a command to hypervisor failed
static Error.ErrorNumberVIR_ERR_OS_TYPE
unknown OS type
static Error.ErrorNumberVIR_ERR_PARSE_FAILED
failed to parse a conf file
static Error.ErrorNumberVIR_ERR_POST_FAILED
a HTTP POST command to failed
static Error.ErrorNumberVIR_ERR_READ_FAILED
failed to read a conf file
static Error.ErrorNumberVIR_ERR_RPC
some sort of RPC error
static Error.ErrorNumberVIR_ERR_SEXPR_SERIAL
failure to serialize an S-Expr
static Error.ErrorNumberVIR_ERR_SYSTEM_ERROR
general system call failure
static Error.ErrorNumberVIR_ERR_UNKNOWN_HOST
could not resolve hostname
static Error.ErrorNumberVIR_ERR_WRITE_FAILED
failed to write a conf file
static Error.ErrorNumberVIR_ERR_XEN_CALL
failure doing an hypervisor call
static Error.ErrorNumberVIR_ERR_XML_DETAIL
detail of an XML error
static Error.ErrorNumberVIR_ERR_XML_ERROR
an XML description is not well formed or broken
static Error.ErrorNumberVIR_WAR_NO_NETWORK
failed to start network
static Error.ErrorNumberVIR_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.ErrorNumbervalueOf(String name)
Static factory to return the enum constant pertaining to the given string name.

Field Detail

VALUES

public static final List<Error.ErrorNumber> 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(ErrorNumber c : ErrorNumber.VALUES)
    System.out.println(c);

VIR_ERR_AUTH_FAILED

public static final Error.ErrorNumber VIR_ERR_AUTH_FAILED
authentication failed

VIR_ERR_CALL_FAILED

public static final Error.ErrorNumber VIR_ERR_CALL_FAILED
not supported by the drivers (DEPRECATED)

VIR_ERR_CONF_SYNTAX

public static final Error.ErrorNumber VIR_ERR_CONF_SYNTAX
failed to parse the syntax of a conf file

VIR_ERR_DOM_EXIST

public static final Error.ErrorNumber VIR_ERR_DOM_EXIST
the domain already exist

VIR_ERR_DRIVER_FULL

public static final Error.ErrorNumber VIR_ERR_DRIVER_FULL
too many drivers registered

VIR_ERR_GET_FAILED

public static final Error.ErrorNumber VIR_ERR_GET_FAILED
a HTTP GET command to failed

VIR_ERR_GNUTLS_ERROR

public static final Error.ErrorNumber VIR_ERR_GNUTLS_ERROR
error from a GNUTLS call

VIR_ERR_HTTP_ERROR

public static final Error.ErrorNumber VIR_ERR_HTTP_ERROR
unexpected HTTP error code

VIR_ERR_INTERNAL_ERROR

public static final Error.ErrorNumber VIR_ERR_INTERNAL_ERROR
internal error

VIR_ERR_INVALID_ARG

public static final Error.ErrorNumber VIR_ERR_INVALID_ARG
invalid function argument

VIR_ERR_INVALID_CONN

public static final Error.ErrorNumber VIR_ERR_INVALID_CONN
invalid connection object

VIR_ERR_INVALID_DOMAIN

public static final Error.ErrorNumber VIR_ERR_INVALID_DOMAIN
invalid domain object

VIR_ERR_INVALID_MAC

public static final Error.ErrorNumber VIR_ERR_INVALID_MAC
invalid MAC adress

VIR_ERR_INVALID_NETWORK

public static final Error.ErrorNumber VIR_ERR_INVALID_NETWORK
invalid network object

VIR_ERR_INVALID_STORAGE_POOL

public static final Error.ErrorNumber VIR_ERR_INVALID_STORAGE_POOL
invalid storage pool object

VIR_ERR_INVALID_STORAGE_VOL

public static final Error.ErrorNumber VIR_ERR_INVALID_STORAGE_VOL
invalid storage vol object

VIR_ERR_NETWORK_EXIST

public static final Error.ErrorNumber VIR_ERR_NETWORK_EXIST
the network already exist

VIR_ERR_NO_CONNECT

public static final Error.ErrorNumber VIR_ERR_NO_CONNECT
can't connect to hypervisor

VIR_ERR_NO_DEVICE

public static final Error.ErrorNumber VIR_ERR_NO_DEVICE
missing domain devices information

VIR_ERR_NO_DOMAIN

public static final Error.ErrorNumber VIR_ERR_NO_DOMAIN
omain not found or unexpectedly disappeared

VIR_ERR_NO_KERNEL

public static final Error.ErrorNumber VIR_ERR_NO_KERNEL
missing kernel information

VIR_ERR_NO_MEMORY

public static final Error.ErrorNumber VIR_ERR_NO_MEMORY
memory allocation failure

VIR_ERR_NO_NAME

public static final Error.ErrorNumber VIR_ERR_NO_NAME
missing domain name information

VIR_ERR_NO_NETWORK

public static final Error.ErrorNumber VIR_ERR_NO_NETWORK
network not found

VIR_ERR_NO_OS

public static final Error.ErrorNumber VIR_ERR_NO_OS
missing domain OS information

VIR_ERR_NO_ROOT

public static final Error.ErrorNumber VIR_ERR_NO_ROOT
missing root device information

VIR_ERR_NO_SOURCE

public static final Error.ErrorNumber VIR_ERR_NO_SOURCE
missing source device information

VIR_ERR_NO_STORAGE_POOL

public static final Error.ErrorNumber VIR_ERR_NO_STORAGE_POOL
storage pool not found

VIR_ERR_NO_STORAGE_VOL

public static final Error.ErrorNumber VIR_ERR_NO_STORAGE_VOL
storage pool not found

VIR_ERR_NO_SUPPORT

public static final Error.ErrorNumber VIR_ERR_NO_SUPPORT
no support for this function

VIR_ERR_NO_TARGET

public static final Error.ErrorNumber VIR_ERR_NO_TARGET
missing target device information

VIR_ERR_NO_XEN

public static final Error.ErrorNumber VIR_ERR_NO_XEN
could not open Xen hypervisor control

VIR_ERR_NO_XENSTORE

public static final Error.ErrorNumber VIR_ERR_NO_XENSTORE
could not open Xen Store control

VIR_ERR_OK

public static final Error.ErrorNumber VIR_ERR_OK

VIR_ERR_OPEN_FAILED

public static final Error.ErrorNumber VIR_ERR_OPEN_FAILED
failed to open a conf file

VIR_ERR_OPERATION_DENIED

public static final Error.ErrorNumber VIR_ERR_OPERATION_DENIED
operation forbidden on read-only connections

VIR_ERR_OPERATION_FAILED

public static final Error.ErrorNumber VIR_ERR_OPERATION_FAILED
a command to hypervisor failed

VIR_ERR_OS_TYPE

public static final Error.ErrorNumber VIR_ERR_OS_TYPE
unknown OS type

VIR_ERR_PARSE_FAILED

public static final Error.ErrorNumber VIR_ERR_PARSE_FAILED
failed to parse a conf file

VIR_ERR_POST_FAILED

public static final Error.ErrorNumber VIR_ERR_POST_FAILED
a HTTP POST command to failed

VIR_ERR_READ_FAILED

public static final Error.ErrorNumber VIR_ERR_READ_FAILED
failed to read a conf file

VIR_ERR_RPC

public static final Error.ErrorNumber VIR_ERR_RPC
some sort of RPC error

VIR_ERR_SEXPR_SERIAL

public static final Error.ErrorNumber VIR_ERR_SEXPR_SERIAL
failure to serialize an S-Expr

VIR_ERR_SYSTEM_ERROR

public static final Error.ErrorNumber VIR_ERR_SYSTEM_ERROR
general system call failure

VIR_ERR_UNKNOWN_HOST

public static final Error.ErrorNumber VIR_ERR_UNKNOWN_HOST
could not resolve hostname

VIR_ERR_WRITE_FAILED

public static final Error.ErrorNumber VIR_ERR_WRITE_FAILED
failed to write a conf file

VIR_ERR_XEN_CALL

public static final Error.ErrorNumber VIR_ERR_XEN_CALL
failure doing an hypervisor call

VIR_ERR_XML_DETAIL

public static final Error.ErrorNumber VIR_ERR_XML_DETAIL
detail of an XML error

VIR_ERR_XML_ERROR

public static final Error.ErrorNumber VIR_ERR_XML_ERROR
an XML description is not well formed or broken

VIR_WAR_NO_NETWORK

public static final Error.ErrorNumber VIR_WAR_NO_NETWORK
failed to start network

VIR_WAR_NO_STORAGE

public static final Error.ErrorNumber VIR_WAR_NO_STORAGE
failed to start storage

Method Detail

family

public final List<Error.ErrorNumber> 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.ErrorNumber 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.