Package com.blackhillsoftware.smf.smf90
Enum ValidationFailureReason
- All Implemented Interfaces:
Serializable
,Comparable<ValidationFailureReason>
,java.lang.constant.Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionConstant: 0x05 = 5Constant: 0x07 = 7Constant: 0x06 = 6Constant: 0x0B = 11Constant: 0x02 = 2Constant: 0x03 = 3Constant: 0x0C = 12Constant: 0x08 = 8Constant: 0x01 = 1Constant: 0x0A = 10Constant: 0x04 = 4Constant: 0x09 = 9 -
Method Summary
Modifier and TypeMethodDescriptionstatic ValidationFailureReason
from
(int value) Get the ValidationFailureReason for an integer valuestatic ValidationFailureReason
Returns the enum constant of this type with the specified name.static ValidationFailureReason[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
NULL
-
NOT_SIGNED
Constant: 0x01 = 1 -
DE_NOT_FOUND
Constant: 0x02 = 2 -
DE_NOT_MATCH
Constant: 0x03 = 3 -
SIG_NOT_FOUND
Constant: 0x04 = 4 -
BAD_HASH_ALG
Constant: 0x05 = 5 -
BAD_SIG_ALG
Constant: 0x06 = 6 -
BAD_HASH_VAL
Constant: 0x07 = 7 -
NO_MATCHING_KEY_ID
Constant: 0x08 = 8 -
SIG_VER_FAILED
Constant: 0x09 = 9 -
OVERLAY_MODULE
Constant: 0x0A = 10 -
BAD_SIG_REC_VERSION
Constant: 0x0B = 11 -
MACH_LOADER_ERROR
Constant: 0x0C = 12 -
NOT_DEFINED
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
from
Get the ValidationFailureReason for an integer value- Parameters:
value
- the integer value- Returns:
- the corresponding ValidationFailureReason
-