public static enum FetchException.FetchExceptionMode extends java.lang.Enum<FetchException.FetchExceptionMode>
Enum Constant and Description |
---|
ALL_DATA_NOT_FOUND
Not all data was found; some DNFs but some successes
|
ARCHIVE_FAILURE
Got an ArchiveFailureException
|
ARCHIVE_RESTART
Archive restart
|
BLOCK_DECODE_ERROR
Failed to decode a block.
|
BUCKET_ERROR
Failed to read from or write to a bucket; a kind of internal error
|
CANCELLED
Explicitly cancelled
|
CONTENT_HASH_FAILED
The metadata specified a hash but the data didn't match it.
|
CONTENT_VALIDATION_BAD_MIME
The content filter knows this data type is dangerous
|
CONTENT_VALIDATION_FAILED
Content filtration has generally failed to produce clean data
|
CONTENT_VALIDATION_UNKNOWN_MIME
The content filter does not recognize this data type
|
DATA_NOT_FOUND
Data not found
|
INTERNAL_ERROR
An internal error occurred
|
INVALID_METADATA
Got a MetadataParseException
|
INVALID_URI
Invalid URI.
|
MIME_INCOMPATIBLE_WITH_EXTENSION
For a filtered download to disk, the MIME type is incompatible with the
extension, potentially resulting in data on disk filtered with one MIME
type but accessed by the operating system with another MIME type.
|
NOT_ENOUGH_DISK_SPACE
Not enough disk space to start a download or the next stage of a download.
|
NOT_ENOUGH_PATH_COMPONENTS
Not enough meta strings in URI given and no default document
|
NOT_IN_ARCHIVE
Tried to access an archive file but not in an archive
|
PERMANENT_REDIRECT
There is a more recent version of the USK, ~= HTTP 301; FProxy will turn this into a 301
|
RECENTLY_FAILED
A node killed the request because it had recently been tried and had DNFed
|
REJECTED_OVERLOAD
Downstream overload
|
ROUTE_NOT_FOUND
Route not found
|
SPLITFILE_DECODE_ERROR
FEC decode produced a block that doesn't match the data in the original splitfile.
|
SPLITFILE_ERROR
Splitfile error.
|
TOO_BIG
Too big
|
TOO_BIG_METADATA
Metadata too big
|
TOO_DEEP_ARCHIVE_RECURSION
Deprecated.
|
TOO_MANY_ARCHIVE_RESTARTS
Too many archive restarts
|
TOO_MANY_BLOCKS_PER_SEGMENT
Splitfile has too big segments
|
TOO_MANY_METADATA_LEVELS
Deprecated.
|
TOO_MANY_PATH_COMPONENTS
Too many meta strings.
|
TOO_MANY_REDIRECTS
Deprecated.
|
TOO_MUCH_RECURSION
Too deep recursion
|
TRANSFER_FAILED
The node found the data but the transfer failed
|
UNKNOWN_METADATA
Don't know what to do with metadata
|
UNKNOWN_SPLITFILE_METADATA
Deprecated.
|
WRONG_MIME_TYPE
Requestor specified a list of allowed MIME types, and the key's type wasn't in the list
|
Modifier and Type | Field and Description |
---|---|
int |
code |
Modifier and Type | Method and Description |
---|---|
static FetchException.FetchExceptionMode |
getByCode(int code) |
static FetchException.FetchExceptionMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FetchException.FetchExceptionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Deprecated public static final FetchException.FetchExceptionMode TOO_DEEP_ARCHIVE_RECURSION
@Deprecated public static final FetchException.FetchExceptionMode UNKNOWN_SPLITFILE_METADATA
public static final FetchException.FetchExceptionMode UNKNOWN_METADATA
public static final FetchException.FetchExceptionMode INVALID_METADATA
public static final FetchException.FetchExceptionMode ARCHIVE_FAILURE
public static final FetchException.FetchExceptionMode BLOCK_DECODE_ERROR
@Deprecated public static final FetchException.FetchExceptionMode TOO_MANY_METADATA_LEVELS
public static final FetchException.FetchExceptionMode TOO_MANY_ARCHIVE_RESTARTS
public static final FetchException.FetchExceptionMode TOO_MUCH_RECURSION
public static final FetchException.FetchExceptionMode NOT_IN_ARCHIVE
public static final FetchException.FetchExceptionMode TOO_MANY_PATH_COMPONENTS
public static final FetchException.FetchExceptionMode BUCKET_ERROR
public static final FetchException.FetchExceptionMode DATA_NOT_FOUND
public static final FetchException.FetchExceptionMode ROUTE_NOT_FOUND
public static final FetchException.FetchExceptionMode REJECTED_OVERLOAD
@Deprecated public static final FetchException.FetchExceptionMode TOO_MANY_REDIRECTS
public static final FetchException.FetchExceptionMode INTERNAL_ERROR
public static final FetchException.FetchExceptionMode TRANSFER_FAILED
public static final FetchException.FetchExceptionMode SPLITFILE_ERROR
public static final FetchException.FetchExceptionMode INVALID_URI
public static final FetchException.FetchExceptionMode TOO_BIG
public static final FetchException.FetchExceptionMode TOO_BIG_METADATA
public static final FetchException.FetchExceptionMode TOO_MANY_BLOCKS_PER_SEGMENT
public static final FetchException.FetchExceptionMode NOT_ENOUGH_PATH_COMPONENTS
public static final FetchException.FetchExceptionMode CANCELLED
public static final FetchException.FetchExceptionMode ARCHIVE_RESTART
public static final FetchException.FetchExceptionMode PERMANENT_REDIRECT
public static final FetchException.FetchExceptionMode ALL_DATA_NOT_FOUND
public static final FetchException.FetchExceptionMode WRONG_MIME_TYPE
public static final FetchException.FetchExceptionMode RECENTLY_FAILED
public static final FetchException.FetchExceptionMode CONTENT_VALIDATION_FAILED
public static final FetchException.FetchExceptionMode CONTENT_VALIDATION_UNKNOWN_MIME
public static final FetchException.FetchExceptionMode CONTENT_VALIDATION_BAD_MIME
public static final FetchException.FetchExceptionMode CONTENT_HASH_FAILED
public static final FetchException.FetchExceptionMode SPLITFILE_DECODE_ERROR
public static final FetchException.FetchExceptionMode MIME_INCOMPATIBLE_WITH_EXTENSION
public static final FetchException.FetchExceptionMode NOT_ENOUGH_DISK_SPACE
public static FetchException.FetchExceptionMode[] values()
for (FetchException.FetchExceptionMode c : FetchException.FetchExceptionMode.values()) System.out.println(c);
public static FetchException.FetchExceptionMode 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 FetchException.FetchExceptionMode getByCode(int code)