public static enum FilesystemError.Code extends Enum<FilesystemError.Code>
Enum Constant and Description |
---|
FS_ERROR_ARCHIVE_ALREADY_MOUNTED
The user tried to load an archive twice at the same location.
|
FS_ERROR_ARCHIVE_DAMAGED
An archive appeared to be corrupt and could not be loaded.
|
FS_ERROR_ARCHIVE_NO_DIRECTORY
The user tried to load an archive, but no archive directory was
specified.
|
FS_ERROR_ARCHIVE_NONEXISTENT
The user tried to load a nonexistent archive.
|
FS_ERROR_ARCHIVE_TYPE_UNSUPPORTED
The user tried to load an archive of a type not supported by the
implementation.
|
FS_ERROR_CONSTRAINT_ERROR
An internal constraint error occurred; this indicates a bug in
jvvfs . |
FS_ERROR_IO_ERROR
An operating system I/O error occurred.
|
FS_ERROR_NONEXISTENT
The object in question does not exist.
|
FS_ERROR_NOT_A_DIRECTORY
The object in question was expected to be a directory, but was a
something else instead.
|
FS_ERROR_NOT_A_FILE
The object in question was expected to be a file, but was a something
else instead.
|
Modifier and Type | Method and Description |
---|---|
static FilesystemError.Code |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FilesystemError.Code[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FilesystemError.Code FS_ERROR_ARCHIVE_ALREADY_MOUNTED
public static final FilesystemError.Code FS_ERROR_ARCHIVE_DAMAGED
public static final FilesystemError.Code FS_ERROR_ARCHIVE_NO_DIRECTORY
public static final FilesystemError.Code FS_ERROR_ARCHIVE_NONEXISTENT
public static final FilesystemError.Code FS_ERROR_ARCHIVE_TYPE_UNSUPPORTED
public static final FilesystemError.Code FS_ERROR_CONSTRAINT_ERROR
jvvfs
.public static final FilesystemError.Code FS_ERROR_IO_ERROR
public static final FilesystemError.Code FS_ERROR_NONEXISTENT
public static final FilesystemError.Code FS_ERROR_NOT_A_DIRECTORY
public static final FilesystemError.Code FS_ERROR_NOT_A_FILE
public static FilesystemError.Code[] values()
for (FilesystemError.Code c : FilesystemError.Code.values()) System.out.println(c);
public static FilesystemError.Code 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 nullCopyright © 2015 <code@io7m.com> http://io7m.com