public static enum VCloudError.MinorCode extends Enum<VCloudError.MinorCode>
Enum Constant and Description |
---|
ACCESS_TO_RESOURCE_IS_FORBIDDEN
The request was made by a user who had insufficient rights to the object or operation.
|
BAD_REQUEST
The request could not be validated or contained invalid XML.
|
BUSY_ENTITY
The entity is busy
|
CONFLICT
A conflict was detected between sections of an OVF descriptor.
|
EULA_NOT_ACCEPTED
An attempt to instantiate a vAppTemplate or use a vAppTemplate or a Vm in a composition did
not include an AllEULAsAccepted element with a value of true.
|
INTERNAL_SERVER_ERROR
Returned for any failure that cannot be matched to another minor error code.
|
INVALID_REFERENCE
One or more references (href attribute values) supplied in the request could not be
resolved to an object.
|
METHOD_NOT_ALLOWED
The HTTP method (GET, PUT, POST, DELETE) is not allowed for the request.
|
RESOURCE_NOT_FOUND
One or more references (href attribute values) supplied in the request could not be
resolved to an object, or the Content‐type of the request was incorrect.
|
UNKNOWN
The request raised an exception that did not match any HTTP status code.
|
UNRECOGNIZED |
UNSUPPORTED_MEDIA_TYPE
The wrong content type was specified for the request.
|
Modifier and Type | Method and Description |
---|---|
static VCloudError.MinorCode |
fromValue(String minorCode) |
static VCloudError.MinorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VCloudError.MinorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VCloudError.MinorCode ACCESS_TO_RESOURCE_IS_FORBIDDEN
public static final VCloudError.MinorCode BAD_REQUEST
public static final VCloudError.MinorCode CONFLICT
public static final VCloudError.MinorCode BUSY_ENTITY
public static final VCloudError.MinorCode EULA_NOT_ACCEPTED
public static final VCloudError.MinorCode INTERNAL_SERVER_ERROR
public static final VCloudError.MinorCode INVALID_REFERENCE
public static final VCloudError.MinorCode METHOD_NOT_ALLOWED
public static final VCloudError.MinorCode RESOURCE_NOT_FOUND
public static final VCloudError.MinorCode UNKNOWN
public static final VCloudError.MinorCode UNSUPPORTED_MEDIA_TYPE
public static final VCloudError.MinorCode UNRECOGNIZED
public static VCloudError.MinorCode[] values()
for (VCloudError.MinorCode c : VCloudError.MinorCode.values()) System.out.println(c);
public static VCloudError.MinorCode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic static VCloudError.MinorCode fromValue(String minorCode)
Copyright © 2009-2012 jclouds. All Rights Reserved.