org.jclouds.atmos.reference
Enum AtmosErrorCode

java.lang.Object
  extended by java.lang.Enum<AtmosErrorCode>
      extended by org.jclouds.atmos.reference.AtmosErrorCode
All Implemented Interfaces:
Serializable, Comparable<AtmosErrorCode>

public enum AtmosErrorCode
extends Enum<AtmosErrorCode>

Atmos error codes.


Enum Constant Summary
CONFLICTING_OPERATION
          Operation aborted because of a conflicting operation in progess against the resource.
DIRECTORY_NOT_EMPTY
          The directory you are attempting to delete is not empty.
OBJECT_NOT_FOUND
          The requested object was not found.
RESOURCE_ALREADY_EXISTS
          The resource you are trying to create already exists.
SERVER_BUSY
          The server is busy.
SIGNATURE_MISMATCH
          There was a mismatch between the signature in the request and the signature as computed by the server.
 
Method Summary
 int getCode()
           
static AtmosErrorCode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AtmosErrorCode[] 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

CONFLICTING_OPERATION

public static final AtmosErrorCode CONFLICTING_OPERATION
Operation aborted because of a conflicting operation in progess against the resource.


DIRECTORY_NOT_EMPTY

public static final AtmosErrorCode DIRECTORY_NOT_EMPTY
The directory you are attempting to delete is not empty.


OBJECT_NOT_FOUND

public static final AtmosErrorCode OBJECT_NOT_FOUND
The requested object was not found.


RESOURCE_ALREADY_EXISTS

public static final AtmosErrorCode RESOURCE_ALREADY_EXISTS
The resource you are trying to create already exists.


SERVER_BUSY

public static final AtmosErrorCode SERVER_BUSY
The server is busy. Please try again.


SIGNATURE_MISMATCH

public static final AtmosErrorCode SIGNATURE_MISMATCH
There was a mismatch between the signature in the request and the signature as computed by the server.

Method Detail

values

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

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

valueOf

public static AtmosErrorCode 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

getCode

public int getCode()


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.