org.jclouds.vcloud.domain
Enum VCloudError.MinorCode

java.lang.Object
  extended by java.lang.Enum<VCloudError.MinorCode>
      extended by org.jclouds.vcloud.domain.VCloudError.MinorCode
All Implemented Interfaces:
Serializable, Comparable<VCloudError.MinorCode>
Enclosing interface:
VCloudError

public static enum VCloudError.MinorCode
extends Enum<VCloudError.MinorCode>


Enum Constant Summary
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.
 
Method Summary
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.
 
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

ACCESS_TO_RESOURCE_IS_FORBIDDEN

public static final VCloudError.MinorCode ACCESS_TO_RESOURCE_IS_FORBIDDEN
The request was made by a user who had insufficient rights to the object or operation.


BAD_REQUEST

public static final VCloudError.MinorCode BAD_REQUEST
The request could not be validated or contained invalid XML.


CONFLICT

public static final VCloudError.MinorCode CONFLICT
A conflict was detected between sections of an OVF descriptor.


BUSY_ENTITY

public static final VCloudError.MinorCode BUSY_ENTITY
The entity is busy


EULA_NOT_ACCEPTED

public static final VCloudError.MinorCode 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

public static final VCloudError.MinorCode INTERNAL_SERVER_ERROR
Returned for any failure that cannot be matched to another minor error code.


INVALID_REFERENCE

public static final VCloudError.MinorCode INVALID_REFERENCE
One or more references (href attribute values) supplied in the request could not be resolved to an object.


METHOD_NOT_ALLOWED

public static final VCloudError.MinorCode METHOD_NOT_ALLOWED
The HTTP method (GET, PUT, POST, DELETE) is not allowed for the request.


RESOURCE_NOT_FOUND

public static final VCloudError.MinorCode 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

public static final VCloudError.MinorCode UNKNOWN
The request raised an exception that did not match any HTTP status code.


UNSUPPORTED_MEDIA_TYPE

public static final VCloudError.MinorCode UNSUPPORTED_MEDIA_TYPE
The wrong content type was specified for the request.


UNRECOGNIZED

public static final VCloudError.MinorCode UNRECOGNIZED
Method Detail

values

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

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

valueOf

public static VCloudError.MinorCode valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

fromValue

public static VCloudError.MinorCode fromValue(String minorCode)


Copyright © 2009-2011 jclouds. All Rights Reserved.