Enum Class ErrorCode
- All Implemented Interfaces:
Serializable,Comparable<ErrorCode>,Constable
Pseudo-Wrapper class for different NtStatus-Codes (e.g. ERROR_FILE_NOT_FOUND has the error code of
NtStatus.OBJECT_NAME_NOT_FOUND)
TODO: maybe we should change this to use directly NtStatus. And are all error codes correct?-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
-
Enum Constant Details
-
SUCCESS
-
ERROR_WRITE_FAULT
-
ERROR_READ_FAULT
-
ERROR_FILE_NOT_FOUND
-
OBJECT_NAME_COLLISION
-
ERROR_FILE_EXISTS
-
ERROR_ALREADY_EXISTS
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getMask
public int getMask()
-