Enum Class DalvikParserErrorType
java.lang.Object
java.lang.Enum<DalvikParserErrorType>
com.pnfsoftware.jeb.core.units.code.android.dex.DalvikParserErrorType
- All Implemented Interfaces:
Serializable,Comparable<DalvikParserErrorType>,Constable
Types for errors generated by the Dalvik parser.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDalvik parser error typebad-try-block-end-address.Dalvik parser error typebad-try-block-start-address.Dalvik parser error typeempty-cfg.Dalvik parser error typegaps-error.Dalvik parser error typeinvalid-argument-count.Dalvik parser error typeinvalid-extended-opcode.Dalvik parser error typeinvalid-index.Dalvik parser error typeinvalid-opcode-format.Dalvik parser error typeinvalid-pseudo-instruction-id.Dalvik parser error typeoptimized-opcode.Dalvik parser error typeout-of-boundaries.Dalvik parser error typeoverlapping-instructions.Dalvik parser error typepadding-before-pseudo-opcode.Dalvik parser error typeregister-outside-frame.Dalvik parser error typereserved-opcode.Dalvik parser error typeunimplemented-encoding-format.Dalvik parser error typeunknown-error. -
Method Summary
Modifier and TypeMethodDescriptionbooleanDetermine whether this error should be considered a hard parsing failure.toString()static DalvikParserErrorTypeReturns the enum constant of this class with the specified name.static DalvikParserErrorType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN_ERROR
Dalvik parser error typeunknown-error. -
OUT_OF_BOUNDARIES
Dalvik parser error typeout-of-boundaries. -
RESERVED_OPCODE
Dalvik parser error typereserved-opcode. -
OPTIMIZED_OPCODE
Dalvik parser error typeoptimized-opcode. -
INVALID_OPCODE_FORMAT
Dalvik parser error typeinvalid-opcode-format. -
INVALID_PSEUDO_INSTRUCTION_ID
Dalvik parser error typeinvalid-pseudo-instruction-id. -
INVALID_ARGUMENT_COUNT
Dalvik parser error typeinvalid-argument-count. -
INVALID_INDEX
Dalvik parser error typeinvalid-index. -
INVALID_EXTENDED_OPCODE
Dalvik parser error typeinvalid-extended-opcode. -
UNIMPLEMENTED_ENCODING_FORMAT
Dalvik parser error typeunimplemented-encoding-format. -
PADDING_BEFORE_PSEUDO_OPCODE
Dalvik parser error typepadding-before-pseudo-opcode. -
OVERLAPPING_INSTRUCTIONS
Dalvik parser error typeoverlapping-instructions. -
BAD_TRY_BLOCK_START_ADDRESS
Dalvik parser error typebad-try-block-start-address. -
BAD_TRY_BLOCK_END_ADDRESS
Dalvik parser error typebad-try-block-end-address. -
GAPS_ERROR
Dalvik parser error typegaps-error. -
REGISTER_OUTSIDE_FRAME
Dalvik parser error typeregister-outside-frame. -
EMPTY_CFG
Dalvik parser error typeempty-cfg.
-
-
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
-
isHardFail
public boolean isHardFail()Determine whether this error should be considered a hard parsing failure.- Returns:
- true if the error is a hard failure
-
toString
- Overrides:
toStringin classEnum<DalvikParserErrorType>
-