public enum AtmosErrorCode extends Enum<AtmosErrorCode>
Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public static final AtmosErrorCode CONFLICTING_OPERATION
public static final AtmosErrorCode DIRECTORY_NOT_EMPTY
public static final AtmosErrorCode OBJECT_NOT_FOUND
public static final AtmosErrorCode RESOURCE_ALREADY_EXISTS
public static final AtmosErrorCode SERVER_BUSY
public static final AtmosErrorCode SIGNATURE_MISMATCH
public static AtmosErrorCode[] values()
for (AtmosErrorCode c : AtmosErrorCode.values()) System.out.println(c);
public static AtmosErrorCode 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 int getCode()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.