Package org.libvirt

Enum Class Error.ErrorNumber

java.lang.Object
java.lang.Enum<Error.ErrorNumber>
org.libvirt.Error.ErrorNumber
All Implemented Interfaces:
Serializable, Comparable<Error.ErrorNumber>, Constable
Enclosing class:
Error

public static enum Error.ErrorNumber extends Enum<Error.ErrorNumber>
  • Enum Constant Details

    • VIR_ERR_OK

      public static final Error.ErrorNumber VIR_ERR_OK
    • VIR_ERR_INTERNAL_ERROR

      public static final Error.ErrorNumber VIR_ERR_INTERNAL_ERROR
      internal error
    • VIR_ERR_NO_MEMORY

      public static final Error.ErrorNumber VIR_ERR_NO_MEMORY
      memory allocation failure
    • VIR_ERR_NO_SUPPORT

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

      public static final Error.ErrorNumber VIR_ERR_UNKNOWN_HOST
      could not resolve hostname
    • VIR_ERR_NO_CONNECT

      public static final Error.ErrorNumber VIR_ERR_NO_CONNECT
      can't connect to hypervisor
    • 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_ARG

      public static final Error.ErrorNumber VIR_ERR_INVALID_ARG
      invalid function argument
    • VIR_ERR_OPERATION_FAILED

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

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

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

      public static final Error.ErrorNumber VIR_ERR_HTTP_ERROR
      unexpected HTTP error code
    • VIR_ERR_SEXPR_SERIAL

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

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

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

      public static final Error.ErrorNumber VIR_ERR_OS_TYPE
      unknown OS type
    • VIR_ERR_NO_KERNEL

      public static final Error.ErrorNumber VIR_ERR_NO_KERNEL
      missing kernel 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_TARGET

      public static final Error.ErrorNumber VIR_ERR_NO_TARGET
      missing target device information
    • VIR_ERR_NO_NAME

      public static final Error.ErrorNumber VIR_ERR_NO_NAME
      missing domain name information
    • VIR_ERR_NO_OS

      public static final Error.ErrorNumber VIR_ERR_NO_OS
      missing domain OS information
    • VIR_ERR_NO_DEVICE

      public static final Error.ErrorNumber VIR_ERR_NO_DEVICE
      missing domain devices information
    • VIR_ERR_NO_XENSTORE

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

      public static final Error.ErrorNumber VIR_ERR_DRIVER_FULL
      too many drivers registered
    • VIR_ERR_CALL_FAILED

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

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

      public static final Error.ErrorNumber VIR_ERR_DOM_EXIST
      the domain already exist
    • VIR_ERR_OPERATION_DENIED

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

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

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

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

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

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

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

      public static final Error.ErrorNumber VIR_ERR_INVALID_NETWORK
      invalid network object
    • VIR_ERR_NETWORK_EXIST

      public static final Error.ErrorNumber VIR_ERR_NETWORK_EXIST
      the network already exist
    • VIR_ERR_SYSTEM_ERROR

      public static final Error.ErrorNumber VIR_ERR_SYSTEM_ERROR
      general system call failure
    • VIR_ERR_RPC

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

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

      public static final Error.ErrorNumber VIR_WAR_NO_NETWORK
      failed to start network
    • VIR_ERR_NO_DOMAIN

      public static final Error.ErrorNumber VIR_ERR_NO_DOMAIN
      domain not found or unexpectedly disappeared
    • VIR_ERR_NO_NETWORK

      public static final Error.ErrorNumber VIR_ERR_NO_NETWORK
      network not found
    • VIR_ERR_INVALID_MAC

      public static final Error.ErrorNumber VIR_ERR_INVALID_MAC
      invalid MAC address
    • VIR_ERR_AUTH_FAILED

      public static final Error.ErrorNumber VIR_ERR_AUTH_FAILED
      authentication failed
    • 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_WAR_NO_STORAGE

      public static final Error.ErrorNumber VIR_WAR_NO_STORAGE
      failed to start storage
    • 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 volume not found
    • VIR_WAR_NO_NODE

      public static final Error.ErrorNumber VIR_WAR_NO_NODE
      failed to start node driver
    • VIR_ERR_INVALID_NODE_DEVICE

      public static final Error.ErrorNumber VIR_ERR_INVALID_NODE_DEVICE
      invalid node device object
    • VIR_ERR_NO_NODE_DEVICE

      public static final Error.ErrorNumber VIR_ERR_NO_NODE_DEVICE
      node device not found
    • VIR_ERR_NO_SECURITY_MODEL

      public static final Error.ErrorNumber VIR_ERR_NO_SECURITY_MODEL
      security model not found
    • VIR_ERR_OPERATION_INVALID

      public static final Error.ErrorNumber VIR_ERR_OPERATION_INVALID
      operation is not applicable at this time
    • VIR_WAR_NO_INTERFACE

      public static final Error.ErrorNumber VIR_WAR_NO_INTERFACE
      failed to start interface driver
    • VIR_ERR_NO_INTERFACE

      public static final Error.ErrorNumber VIR_ERR_NO_INTERFACE
      interface driver not running
    • VIR_ERR_INVALID_INTERFACE

      public static final Error.ErrorNumber VIR_ERR_INVALID_INTERFACE
      invalid interface object
    • VIR_ERR_MULTIPLE_INTERFACES

      public static final Error.ErrorNumber VIR_ERR_MULTIPLE_INTERFACES
      more than one matching interface found
    • VIR_WAR_NO_NWFILTER

      public static final Error.ErrorNumber VIR_WAR_NO_NWFILTER
      failed to start nwfilter driver
    • VIR_ERR_INVALID_NWFILTER

      public static final Error.ErrorNumber VIR_ERR_INVALID_NWFILTER
      invalid nwfilter object
    • VIR_ERR_NO_NWFILTER

      public static final Error.ErrorNumber VIR_ERR_NO_NWFILTER
      nw filter pool not found
    • VIR_ERR_BUILD_FIREWALL

      public static final Error.ErrorNumber VIR_ERR_BUILD_FIREWALL
      nw filter pool not found
    • VIR_WAR_NO_SECRET

      public static final Error.ErrorNumber VIR_WAR_NO_SECRET
      failed to start secret storage
    • VIR_ERR_INVALID_SECRET

      public static final Error.ErrorNumber VIR_ERR_INVALID_SECRET
      invalid secret
    • VIR_ERR_NO_SECRET

      public static final Error.ErrorNumber VIR_ERR_NO_SECRET
      secret not found
    • VIR_ERR_CONFIG_UNSUPPORTED

      public static final Error.ErrorNumber VIR_ERR_CONFIG_UNSUPPORTED
      unsupported configuration construct
    • VIR_ERR_OPERATION_TIMEOUT

      public static final Error.ErrorNumber VIR_ERR_OPERATION_TIMEOUT
      timeout occurred during operation
    • VIR_ERR_MIGRATE_PERSIST_FAILED

      public static final Error.ErrorNumber VIR_ERR_MIGRATE_PERSIST_FAILED
      a migration worked, but making the VM persist on the dest host failed
    • VIR_ERR_HOOK_SCRIPT_FAILED

      public static final Error.ErrorNumber VIR_ERR_HOOK_SCRIPT_FAILED
      a synchronous hook script failed
    • VIR_ERR_INVALID_DOMAIN_SNAPSHOT

      public static final Error.ErrorNumber VIR_ERR_INVALID_DOMAIN_SNAPSHOT
      invalid domain snapshot
    • VIR_ERR_NO_DOMAIN_SNAPSHOT

      public static final Error.ErrorNumber VIR_ERR_NO_DOMAIN_SNAPSHOT
      domain snapshot not found
    • VIR_ERR_INVALID_STREAM

      public static final Error.ErrorNumber VIR_ERR_INVALID_STREAM
      stream pointer not valid
    • VIR_ERR_ARGUMENT_UNSUPPORTED

      public static final Error.ErrorNumber VIR_ERR_ARGUMENT_UNSUPPORTED
      valid API use but unsupported by the given driver
    • VIR_ERR_STORAGE_PROBE_FAILED

      public static final Error.ErrorNumber VIR_ERR_STORAGE_PROBE_FAILED
      storage pool probe failed
    • VIR_ERR_STORAGE_POOL_BUILT

      public static final Error.ErrorNumber VIR_ERR_STORAGE_POOL_BUILT
      storage pool already built
    • VIR_ERR_SNAPSHOT_REVERT_RISKY

      public static final Error.ErrorNumber VIR_ERR_SNAPSHOT_REVERT_RISKY
      force was not requested for a risky domain snapshot revert
    • VIR_ERR_OPERATION_ABORTED

      public static final Error.ErrorNumber VIR_ERR_OPERATION_ABORTED
      operation on a domain was canceled/aborted by user
    • VIR_ERR_AUTH_CANCELLED

      public static final Error.ErrorNumber VIR_ERR_AUTH_CANCELLED
      authentication cancelled
    • VIR_ERR_NO_DOMAIN_METADATA

      public static final Error.ErrorNumber VIR_ERR_NO_DOMAIN_METADATA
      The metadata is not present
    • VIR_ERR_MIGRATE_UNSAFE

      public static final Error.ErrorNumber VIR_ERR_MIGRATE_UNSAFE
      Migration is not safe
    • VIR_ERR_OVERFLOW

      public static final Error.ErrorNumber VIR_ERR_OVERFLOW
      integer overflow
    • VIR_ERR_BLOCK_COPY_ACTIVE

      public static final Error.ErrorNumber VIR_ERR_BLOCK_COPY_ACTIVE
      action prevented by block copy job
    • VIR_ERR_OPERATION_UNSUPPORTED

      public static final Error.ErrorNumber VIR_ERR_OPERATION_UNSUPPORTED
      The requested operation is not supported
    • VIR_ERR_SSH

      public static final Error.ErrorNumber VIR_ERR_SSH
      error in ssh transport driver
    • VIR_ERR_AGENT_UNRESPONSIVE

      public static final Error.ErrorNumber VIR_ERR_AGENT_UNRESPONSIVE
      guest agent is unresponsive, not running or not usable
    • VIR_ERR_RESOURCE_BUSY

      public static final Error.ErrorNumber VIR_ERR_RESOURCE_BUSY
      resource is already in use
    • VIR_ERR_ACCESS_DENIED

      public static final Error.ErrorNumber VIR_ERR_ACCESS_DENIED
      operation on the object/resource was denied
    • VIR_ERR_DBUS_SERVICE

      public static final Error.ErrorNumber VIR_ERR_DBUS_SERVICE
      error from a dbus service
    • VIR_ERR_STORAGE_VOL_EXIST

      public static final Error.ErrorNumber VIR_ERR_STORAGE_VOL_EXIST
      the storage vol already exists
    • VIR_ERR_CPU_INCOMPATIBLE

      public static final Error.ErrorNumber VIR_ERR_CPU_INCOMPATIBLE
      given CPU is incompatible with host CPU
    • VIR_ERR_XML_INVALID_SCHEMA

      public static final Error.ErrorNumber VIR_ERR_XML_INVALID_SCHEMA
      XML document doesn't validate against schema
    • VIR_ERR_MIGRATE_FINISH_OK

      public static final Error.ErrorNumber VIR_ERR_MIGRATE_FINISH_OK
      Finish API succeeded but it is expected to return NULL
    • VIR_ERR_AUTH_UNAVAILABLE

      public static final Error.ErrorNumber VIR_ERR_AUTH_UNAVAILABLE
      authentication unavailable
    • VIR_ERR_NO_SERVER

      public static final Error.ErrorNumber VIR_ERR_NO_SERVER
      Server was not found
    • VIR_ERR_NO_CLIENT

      public static final Error.ErrorNumber VIR_ERR_NO_CLIENT
      Client was not found
    • VIR_ERR_AGENT_UNSYNCED

      public static final Error.ErrorNumber VIR_ERR_AGENT_UNSYNCED
      guest agent replies with wrong id to guest-sync command (DEPRECATED)
    • VIR_ERR_LIBSSH

      public static final Error.ErrorNumber VIR_ERR_LIBSSH
      error in libssh transport driver
    • VIR_ERR_DEVICE_MISSING

      public static final Error.ErrorNumber VIR_ERR_DEVICE_MISSING
      fail to find the desired device
    • VIR_ERR_INVALID_NWFILTER_BINDING

      public static final Error.ErrorNumber VIR_ERR_INVALID_NWFILTER_BINDING
      invalid nwfilter binding
    • VIR_ERR_NO_NWFILTER_BINDING

      public static final Error.ErrorNumber VIR_ERR_NO_NWFILTER_BINDING
      no nwfilter binding
    • VIR_ERR_INVALID_DOMAIN_CHECKPOINT

      public static final Error.ErrorNumber VIR_ERR_INVALID_DOMAIN_CHECKPOINT
      invalid domain checkpoint
    • VIR_ERR_NO_DOMAIN_CHECKPOINT

      public static final Error.ErrorNumber VIR_ERR_NO_DOMAIN_CHECKPOINT
      domain checkpoint not found
    • VIR_ERR_NO_DOMAIN_BACKUP

      public static final Error.ErrorNumber VIR_ERR_NO_DOMAIN_BACKUP
      domain backup job id not found
    • VIR_ERR_INVALID_NETWORK_PORT

      public static final Error.ErrorNumber VIR_ERR_INVALID_NETWORK_PORT
      invalid network port object
    • VIR_ERR_NETWORK_PORT_EXIST

      public static final Error.ErrorNumber VIR_ERR_NETWORK_PORT_EXIST
      the network port already exist
    • VIR_ERR_NO_NETWORK_PORT

      public static final Error.ErrorNumber VIR_ERR_NO_NETWORK_PORT
      network port not found
    • VIR_ERR_NO_HOSTNAME

      public static final Error.ErrorNumber VIR_ERR_NO_HOSTNAME
      no domain's hostname found
    • VIR_ERR_CHECKPOINT_INCONSISTENT

      public static final Error.ErrorNumber VIR_ERR_CHECKPOINT_INCONSISTENT
      checkpoint can't be used
    • VIR_ERR_MULTIPLE_DOMAINS

      public static final Error.ErrorNumber VIR_ERR_MULTIPLE_DOMAINS
      more than one matching domain found
    • VIR_ERR_UNKNOWN

      public static final Error.ErrorNumber VIR_ERR_UNKNOWN
      unknown error
  • Method Details

    • values

      public static Error.ErrorNumber[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Error.ErrorNumber valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • wrap

      protected static Error.ErrorNumber wrap(int value)