Package org.libvirt
Enum Class Error.ErrorNumber
- All Implemented Interfaces:
Serializable
,Comparable<Error.ErrorNumber>
,Constable
- Enclosing class:
- Error
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionoperation on the object/resource was deniedguest agent is unresponsive, not running or not usableguest agent replies with wrong id to guest-sync command (DEPRECATED)valid API use but unsupported by the given driverauthentication cancelledauthentication failedauthentication unavailableaction prevented by block copy jobnw filter pool not foundnot supported by the drivers (DEPRECATED)checkpoint can't be usedfailed to parse the syntax of a conf fileunsupported configuration constructgiven CPU is incompatible with host CPUerror from a dbus servicefail to find the desired devicethe domain already existtoo many drivers registereda HTTP GET command to failederror from a GNUTLS calla synchronous hook script failedunexpected HTTP error codeinternal errorinvalid function argumentinvalid connection objectinvalid domain objectinvalid domain checkpointinvalid domain snapshotinvalid interface objectinvalid MAC addressinvalid network objectinvalid network port objectinvalid node device objectinvalid nwfilter objectinvalid nwfilter bindinginvalid secretinvalid storage pool objectinvalid storage vol objectstream pointer not validerror in libssh transport driverFinish API succeeded but it is expected to return NULLa migration worked, but making the VM persist on the dest host failedMigration is not safemore than one matching domain foundmore than one matching interface foundthe network already existthe network port already existClient was not foundcan't connect to hypervisormissing domain devices informationdomain not found or unexpectedly disappeareddomain backup job id not founddomain checkpoint not foundThe metadata is not presentdomain snapshot not foundno domain's hostname foundinterface driver not runningmissing kernel informationmemory allocation failuremissing domain name informationnetwork not foundnetwork port not foundnode device not foundnw filter pool not foundno nwfilter bindingmissing domain OS informationmissing root device informationsecret not foundsecurity model not foundServer was not foundmissing source device informationstorage pool not foundstorage volume not foundno support for this functionmissing target device informationcould not open Xen hypervisor controlcould not open Xen Store controlfailed to open a conf fileoperation on a domain was canceled/aborted by useroperation forbidden on read-only connectionsa command to hypervisor failedoperation is not applicable at this timetimeout occurred during operationThe requested operation is not supportedunknown OS typeinteger overflowfailed to parse a conf filea HTTP POST command to failedfailed to read a conf fileresource is already in usesome sort of RPC errorfailure to serialize an S-Exprforce was not requested for a risky domain snapshot reverterror in ssh transport driverstorage pool already builtstorage pool probe failedthe storage vol already existsgeneral system call failureunknown errorcould not resolve hostnamefailed to write a conf filefailure doing an hypervisor calldetail of an XML erroran XML description is not well formed or brokenXML document doesn't validate against schemafailed to start interface driverfailed to start networkfailed to start node driverfailed to start nwfilter driverfailed to start secret storagefailed to start storage -
Method Summary
Modifier and TypeMethodDescriptionstatic Error.ErrorNumber
Returns the enum constant of this class with the specified name.static Error.ErrorNumber[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.protected static Error.ErrorNumber
wrap
(int value)
-
Enum Constant Details
-
VIR_ERR_OK
-
VIR_ERR_INTERNAL_ERROR
internal error -
VIR_ERR_NO_MEMORY
memory allocation failure -
VIR_ERR_NO_SUPPORT
no support for this function -
VIR_ERR_UNKNOWN_HOST
could not resolve hostname -
VIR_ERR_NO_CONNECT
can't connect to hypervisor -
VIR_ERR_INVALID_CONN
invalid connection object -
VIR_ERR_INVALID_DOMAIN
invalid domain object -
VIR_ERR_INVALID_ARG
invalid function argument -
VIR_ERR_OPERATION_FAILED
a command to hypervisor failed -
VIR_ERR_GET_FAILED
a HTTP GET command to failed -
VIR_ERR_POST_FAILED
a HTTP POST command to failed -
VIR_ERR_HTTP_ERROR
unexpected HTTP error code -
VIR_ERR_SEXPR_SERIAL
failure to serialize an S-Expr -
VIR_ERR_NO_XEN
could not open Xen hypervisor control -
VIR_ERR_XEN_CALL
failure doing an hypervisor call -
VIR_ERR_OS_TYPE
unknown OS type -
VIR_ERR_NO_KERNEL
missing kernel information -
VIR_ERR_NO_ROOT
missing root device information -
VIR_ERR_NO_SOURCE
missing source device information -
VIR_ERR_NO_TARGET
missing target device information -
VIR_ERR_NO_NAME
missing domain name information -
VIR_ERR_NO_OS
missing domain OS information -
VIR_ERR_NO_DEVICE
missing domain devices information -
VIR_ERR_NO_XENSTORE
could not open Xen Store control -
VIR_ERR_DRIVER_FULL
too many drivers registered -
VIR_ERR_CALL_FAILED
not supported by the drivers (DEPRECATED) -
VIR_ERR_XML_ERROR
an XML description is not well formed or broken -
VIR_ERR_DOM_EXIST
the domain already exist -
VIR_ERR_OPERATION_DENIED
operation forbidden on read-only connections -
VIR_ERR_OPEN_FAILED
failed to open a conf file -
VIR_ERR_READ_FAILED
failed to read a conf file -
VIR_ERR_PARSE_FAILED
failed to parse a conf file -
VIR_ERR_CONF_SYNTAX
failed to parse the syntax of a conf file -
VIR_ERR_WRITE_FAILED
failed to write a conf file -
VIR_ERR_XML_DETAIL
detail of an XML error -
VIR_ERR_INVALID_NETWORK
invalid network object -
VIR_ERR_NETWORK_EXIST
the network already exist -
VIR_ERR_SYSTEM_ERROR
general system call failure -
VIR_ERR_RPC
some sort of RPC error -
VIR_ERR_GNUTLS_ERROR
error from a GNUTLS call -
VIR_WAR_NO_NETWORK
failed to start network -
VIR_ERR_NO_DOMAIN
domain not found or unexpectedly disappeared -
VIR_ERR_NO_NETWORK
network not found -
VIR_ERR_INVALID_MAC
invalid MAC address -
VIR_ERR_AUTH_FAILED
authentication failed -
VIR_ERR_INVALID_STORAGE_POOL
invalid storage pool object -
VIR_ERR_INVALID_STORAGE_VOL
invalid storage vol object -
VIR_WAR_NO_STORAGE
failed to start storage -
VIR_ERR_NO_STORAGE_POOL
storage pool not found -
VIR_ERR_NO_STORAGE_VOL
storage volume not found -
VIR_WAR_NO_NODE
failed to start node driver -
VIR_ERR_INVALID_NODE_DEVICE
invalid node device object -
VIR_ERR_NO_NODE_DEVICE
node device not found -
VIR_ERR_NO_SECURITY_MODEL
security model not found -
VIR_ERR_OPERATION_INVALID
operation is not applicable at this time -
VIR_WAR_NO_INTERFACE
failed to start interface driver -
VIR_ERR_NO_INTERFACE
interface driver not running -
VIR_ERR_INVALID_INTERFACE
invalid interface object -
VIR_ERR_MULTIPLE_INTERFACES
more than one matching interface found -
VIR_WAR_NO_NWFILTER
failed to start nwfilter driver -
VIR_ERR_INVALID_NWFILTER
invalid nwfilter object -
VIR_ERR_NO_NWFILTER
nw filter pool not found -
VIR_ERR_BUILD_FIREWALL
nw filter pool not found -
VIR_WAR_NO_SECRET
failed to start secret storage -
VIR_ERR_INVALID_SECRET
invalid secret -
VIR_ERR_NO_SECRET
secret not found -
VIR_ERR_CONFIG_UNSUPPORTED
unsupported configuration construct -
VIR_ERR_OPERATION_TIMEOUT
timeout occurred during operation -
VIR_ERR_MIGRATE_PERSIST_FAILED
a migration worked, but making the VM persist on the dest host failed -
VIR_ERR_HOOK_SCRIPT_FAILED
a synchronous hook script failed -
VIR_ERR_INVALID_DOMAIN_SNAPSHOT
invalid domain snapshot -
VIR_ERR_NO_DOMAIN_SNAPSHOT
domain snapshot not found -
VIR_ERR_INVALID_STREAM
stream pointer not valid -
VIR_ERR_ARGUMENT_UNSUPPORTED
valid API use but unsupported by the given driver -
VIR_ERR_STORAGE_PROBE_FAILED
storage pool probe failed -
VIR_ERR_STORAGE_POOL_BUILT
storage pool already built -
VIR_ERR_SNAPSHOT_REVERT_RISKY
force was not requested for a risky domain snapshot revert -
VIR_ERR_OPERATION_ABORTED
operation on a domain was canceled/aborted by user -
VIR_ERR_AUTH_CANCELLED
authentication cancelled -
VIR_ERR_NO_DOMAIN_METADATA
The metadata is not present -
VIR_ERR_MIGRATE_UNSAFE
Migration is not safe -
VIR_ERR_OVERFLOW
integer overflow -
VIR_ERR_BLOCK_COPY_ACTIVE
action prevented by block copy job -
VIR_ERR_OPERATION_UNSUPPORTED
The requested operation is not supported -
VIR_ERR_SSH
error in ssh transport driver -
VIR_ERR_AGENT_UNRESPONSIVE
guest agent is unresponsive, not running or not usable -
VIR_ERR_RESOURCE_BUSY
resource is already in use -
VIR_ERR_ACCESS_DENIED
operation on the object/resource was denied -
VIR_ERR_DBUS_SERVICE
error from a dbus service -
VIR_ERR_STORAGE_VOL_EXIST
the storage vol already exists -
VIR_ERR_CPU_INCOMPATIBLE
given CPU is incompatible with host CPU -
VIR_ERR_XML_INVALID_SCHEMA
XML document doesn't validate against schema -
VIR_ERR_MIGRATE_FINISH_OK
Finish API succeeded but it is expected to return NULL -
VIR_ERR_AUTH_UNAVAILABLE
authentication unavailable -
VIR_ERR_NO_SERVER
Server was not found -
VIR_ERR_NO_CLIENT
Client was not found -
VIR_ERR_AGENT_UNSYNCED
guest agent replies with wrong id to guest-sync command (DEPRECATED) -
VIR_ERR_LIBSSH
error in libssh transport driver -
VIR_ERR_DEVICE_MISSING
fail to find the desired device -
VIR_ERR_INVALID_NWFILTER_BINDING
invalid nwfilter binding -
VIR_ERR_NO_NWFILTER_BINDING
no nwfilter binding -
VIR_ERR_INVALID_DOMAIN_CHECKPOINT
invalid domain checkpoint -
VIR_ERR_NO_DOMAIN_CHECKPOINT
domain checkpoint not found -
VIR_ERR_NO_DOMAIN_BACKUP
domain backup job id not found -
VIR_ERR_INVALID_NETWORK_PORT
invalid network port object -
VIR_ERR_NETWORK_PORT_EXIST
the network port already exist -
VIR_ERR_NO_NETWORK_PORT
network port not found -
VIR_ERR_NO_HOSTNAME
no domain's hostname found -
VIR_ERR_CHECKPOINT_INCONSISTENT
checkpoint can't be used -
VIR_ERR_MULTIPLE_DOMAINS
more than one matching domain found -
VIR_ERR_UNKNOWN
unknown error
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
wrap
-