public static enum InsertException.InsertExceptionMode extends java.lang.Enum<InsertException.InsertExceptionMode>
Enum Constant and Description |
---|
BINARY_BLOB_FORMAT_ERROR
Invalid binary blob data supplied so cannot insert it
|
BUCKET_ERROR
Failed to read from or write to a bucket; a kind of internal error
|
CANCELLED
Cancelled by user
|
COLLISION
Collided with pre-existing content
|
FATAL_ERRORS_IN_BLOCKS
There were fatal errors in a splitfile insert.
|
INTERNAL_ERROR
Internal error of some sort
|
INVALID_URI
Caller supplied a URI we cannot use
|
META_STRINGS_NOT_SUPPORTED
Meta string used in the key (most probably '/')
|
REJECTED_OVERLOAD
Downstream node was overloaded
|
ROUTE_NOT_FOUND
Couldn't find enough nodes to send the data to
|
ROUTE_REALLY_NOT_FOUND
Not able to leave the node at all
|
TOO_BIG
File being uploaded is bigger than maximum supported size
|
TOO_MANY_FILES
Too many files in a directory in a site insert
|
TOO_MANY_RETRIES_IN_BLOCKS
Could not insert a splitfile because a block failed too many times
|
Modifier and Type | Field and Description |
---|---|
int |
code |
Modifier and Type | Method and Description |
---|---|
static InsertException.InsertExceptionMode |
getByCode(int code) |
static InsertException.InsertExceptionMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InsertException.InsertExceptionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InsertException.InsertExceptionMode INVALID_URI
public static final InsertException.InsertExceptionMode BUCKET_ERROR
public static final InsertException.InsertExceptionMode INTERNAL_ERROR
public static final InsertException.InsertExceptionMode REJECTED_OVERLOAD
public static final InsertException.InsertExceptionMode ROUTE_NOT_FOUND
public static final InsertException.InsertExceptionMode FATAL_ERRORS_IN_BLOCKS
public static final InsertException.InsertExceptionMode TOO_MANY_RETRIES_IN_BLOCKS
public static final InsertException.InsertExceptionMode ROUTE_REALLY_NOT_FOUND
public static final InsertException.InsertExceptionMode COLLISION
public static final InsertException.InsertExceptionMode CANCELLED
public static final InsertException.InsertExceptionMode META_STRINGS_NOT_SUPPORTED
public static final InsertException.InsertExceptionMode BINARY_BLOB_FORMAT_ERROR
public static final InsertException.InsertExceptionMode TOO_MANY_FILES
public static final InsertException.InsertExceptionMode TOO_BIG
public static InsertException.InsertExceptionMode[] values()
for (InsertException.InsertExceptionMode c : InsertException.InsertExceptionMode.values()) System.out.println(c);
public static InsertException.InsertExceptionMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static InsertException.InsertExceptionMode getByCode(int code)