org.libvirt
Enum VirError.VirErrorNumber

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

public static enum VirError.VirErrorNumber
extends java.lang.Enum<VirError.VirErrorNumber>


Enum Constant Summary
VIR_ERR_CALL_FAILED
          not supported by the drivers (DEPRECATED)
VIR_ERR_CONF_SYNTAX
          failed to parse the syntax of a conf file
VIR_ERR_DOM_EXIST
          the domain already exist
VIR_ERR_DRIVER_FULL
          too many drivers registered
VIR_ERR_GET_FAILED
          a HTTP GET command to failed
VIR_ERR_GNUTLS_ERROR
          error from a GNUTLS call
VIR_ERR_HTTP_ERROR
          unexpected HTTP error code
VIR_ERR_INTERNAL_ERROR
          internal error
VIR_ERR_INVALID_ARG
          invalid function argument
VIR_ERR_INVALID_CONN
          invalid connection object
VIR_ERR_INVALID_DOMAIN
          invalid domain object
VIR_ERR_INVALID_MAC
          invalid MAC adress
VIR_ERR_INVALID_NETWORK
          invalid network object
VIR_ERR_NETWORK_EXIST
          the network already exist
VIR_ERR_NO_CONNECT
          can't connect to hypervisor
VIR_ERR_NO_DEVICE
          missing domain devices information
VIR_ERR_NO_DOMAIN
          omain not found or unexpectedly disappeared
VIR_ERR_NO_KERNEL
          missing kernel information
VIR_ERR_NO_MEMORY
          memory allocation failure
VIR_ERR_NO_NAME
          missing domain name information
VIR_ERR_NO_NETWORK
          network not found
VIR_ERR_NO_OS
          missing domain OS information
VIR_ERR_NO_ROOT
          missing root device information
VIR_ERR_NO_SOURCE
          missing source device information
VIR_ERR_NO_SUPPORT
          no support for this function
VIR_ERR_NO_TARGET
          missing target device information
VIR_ERR_NO_XEN
          could not open Xen hypervisor control
VIR_ERR_NO_XENSTORE
          could not open Xen Store control
VIR_ERR_OK
           
VIR_ERR_OPEN_FAILED
          failed to open a conf file
VIR_ERR_OPERATION_DENIED
          operation forbidden on read-only connections
VIR_ERR_OPERATION_FAILED
          a command to hypervisor failed
VIR_ERR_OS_TYPE
          unknown OS type
VIR_ERR_PARSE_FAILED
          failed to parse a conf file
VIR_ERR_POST_FAILED
          a HTTP POST command to failed
VIR_ERR_READ_FAILED
          failed to read a conf file
VIR_ERR_RPC
          some sort of RPC error
VIR_ERR_SEXPR_SERIAL
          failure to serialize an S-Expr
VIR_ERR_SYSTEM_ERROR
          general system call failure
VIR_ERR_UNKNOWN_HOST
          could not resolve hostname
VIR_ERR_WRITE_FAILED
          failed to write a conf file
VIR_ERR_XEN_CALL
          failure doing an hypervisor call
VIR_ERR_XML_DETAIL
          detail of an XML error
VIR_ERR_XML_ERROR
          an XML description is not well formed or broken
VIR_WAR_NO_NETWORK
          failed to start network
 
Method Summary
static VirError.VirErrorNumber valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static VirError.VirErrorNumber[] 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_ERR_OK

public static final VirError.VirErrorNumber VIR_ERR_OK

VIR_ERR_INTERNAL_ERROR

public static final VirError.VirErrorNumber VIR_ERR_INTERNAL_ERROR
internal error


VIR_ERR_NO_MEMORY

public static final VirError.VirErrorNumber VIR_ERR_NO_MEMORY
memory allocation failure


VIR_ERR_NO_SUPPORT

public static final VirError.VirErrorNumber VIR_ERR_NO_SUPPORT
no support for this function


VIR_ERR_UNKNOWN_HOST

public static final VirError.VirErrorNumber VIR_ERR_UNKNOWN_HOST
could not resolve hostname


VIR_ERR_NO_CONNECT

public static final VirError.VirErrorNumber VIR_ERR_NO_CONNECT
can't connect to hypervisor


VIR_ERR_INVALID_CONN

public static final VirError.VirErrorNumber VIR_ERR_INVALID_CONN
invalid connection object


VIR_ERR_INVALID_DOMAIN

public static final VirError.VirErrorNumber VIR_ERR_INVALID_DOMAIN
invalid domain object


VIR_ERR_INVALID_ARG

public static final VirError.VirErrorNumber VIR_ERR_INVALID_ARG
invalid function argument


VIR_ERR_OPERATION_FAILED

public static final VirError.VirErrorNumber VIR_ERR_OPERATION_FAILED
a command to hypervisor failed


VIR_ERR_GET_FAILED

public static final VirError.VirErrorNumber VIR_ERR_GET_FAILED
a HTTP GET command to failed


VIR_ERR_POST_FAILED

public static final VirError.VirErrorNumber VIR_ERR_POST_FAILED
a HTTP POST command to failed


VIR_ERR_HTTP_ERROR

public static final VirError.VirErrorNumber VIR_ERR_HTTP_ERROR
unexpected HTTP error code


VIR_ERR_SEXPR_SERIAL

public static final VirError.VirErrorNumber VIR_ERR_SEXPR_SERIAL
failure to serialize an S-Expr


VIR_ERR_NO_XEN

public static final VirError.VirErrorNumber VIR_ERR_NO_XEN
could not open Xen hypervisor control


VIR_ERR_XEN_CALL

public static final VirError.VirErrorNumber VIR_ERR_XEN_CALL
failure doing an hypervisor call


VIR_ERR_OS_TYPE

public static final VirError.VirErrorNumber VIR_ERR_OS_TYPE
unknown OS type


VIR_ERR_NO_KERNEL

public static final VirError.VirErrorNumber VIR_ERR_NO_KERNEL
missing kernel information


VIR_ERR_NO_ROOT

public static final VirError.VirErrorNumber VIR_ERR_NO_ROOT
missing root device information


VIR_ERR_NO_SOURCE

public static final VirError.VirErrorNumber VIR_ERR_NO_SOURCE
missing source device information


VIR_ERR_NO_TARGET

public static final VirError.VirErrorNumber VIR_ERR_NO_TARGET
missing target device information


VIR_ERR_NO_NAME

public static final VirError.VirErrorNumber VIR_ERR_NO_NAME
missing domain name information


VIR_ERR_NO_OS

public static final VirError.VirErrorNumber VIR_ERR_NO_OS
missing domain OS information


VIR_ERR_NO_DEVICE

public static final VirError.VirErrorNumber VIR_ERR_NO_DEVICE
missing domain devices information


VIR_ERR_NO_XENSTORE

public static final VirError.VirErrorNumber VIR_ERR_NO_XENSTORE
could not open Xen Store control


VIR_ERR_DRIVER_FULL

public static final VirError.VirErrorNumber VIR_ERR_DRIVER_FULL
too many drivers registered


VIR_ERR_CALL_FAILED

public static final VirError.VirErrorNumber VIR_ERR_CALL_FAILED
not supported by the drivers (DEPRECATED)


VIR_ERR_XML_ERROR

public static final VirError.VirErrorNumber VIR_ERR_XML_ERROR
an XML description is not well formed or broken


VIR_ERR_DOM_EXIST

public static final VirError.VirErrorNumber VIR_ERR_DOM_EXIST
the domain already exist


VIR_ERR_OPERATION_DENIED

public static final VirError.VirErrorNumber VIR_ERR_OPERATION_DENIED
operation forbidden on read-only connections


VIR_ERR_OPEN_FAILED

public static final VirError.VirErrorNumber VIR_ERR_OPEN_FAILED
failed to open a conf file


VIR_ERR_READ_FAILED

public static final VirError.VirErrorNumber VIR_ERR_READ_FAILED
failed to read a conf file


VIR_ERR_PARSE_FAILED

public static final VirError.VirErrorNumber VIR_ERR_PARSE_FAILED
failed to parse a conf file


VIR_ERR_CONF_SYNTAX

public static final VirError.VirErrorNumber VIR_ERR_CONF_SYNTAX
failed to parse the syntax of a conf file


VIR_ERR_WRITE_FAILED

public static final VirError.VirErrorNumber VIR_ERR_WRITE_FAILED
failed to write a conf file


VIR_ERR_XML_DETAIL

public static final VirError.VirErrorNumber VIR_ERR_XML_DETAIL
detail of an XML error


VIR_ERR_INVALID_NETWORK

public static final VirError.VirErrorNumber VIR_ERR_INVALID_NETWORK
invalid network object


VIR_ERR_NETWORK_EXIST

public static final VirError.VirErrorNumber VIR_ERR_NETWORK_EXIST
the network already exist


VIR_ERR_SYSTEM_ERROR

public static final VirError.VirErrorNumber VIR_ERR_SYSTEM_ERROR
general system call failure


VIR_ERR_RPC

public static final VirError.VirErrorNumber VIR_ERR_RPC
some sort of RPC error


VIR_ERR_GNUTLS_ERROR

public static final VirError.VirErrorNumber VIR_ERR_GNUTLS_ERROR
error from a GNUTLS call


VIR_WAR_NO_NETWORK

public static final VirError.VirErrorNumber VIR_WAR_NO_NETWORK
failed to start network


VIR_ERR_NO_DOMAIN

public static final VirError.VirErrorNumber VIR_ERR_NO_DOMAIN
omain not found or unexpectedly disappeared


VIR_ERR_NO_NETWORK

public static final VirError.VirErrorNumber VIR_ERR_NO_NETWORK
network not found


VIR_ERR_INVALID_MAC

public static final VirError.VirErrorNumber VIR_ERR_INVALID_MAC
invalid MAC adress

Method Detail

values

public static VirError.VirErrorNumber[] 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 (VirError.VirErrorNumber c : VirError.VirErrorNumber.values())
    System.out.println(c);

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

valueOf

public static VirError.VirErrorNumber 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