Class DexDecConversionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.pnfsoftware.jeb.core.exceptions.JebRuntimeException
com.pnfsoftware.jeb.core.units.code.android.ir.DexDecConversionException
- All Implemented Interfaces:
Serializable
A Dalvik-to-IR conversion exception.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreate a conversion exception without instruction details.DexDecConversionException(int opcode) Create a conversion exception for an opcode.Create a conversion exception for an instruction.DexDecConversionException(IDalvikInstruction insn, String details) Create a conversion exception for an instruction. -
Method Summary
Modifier and TypeMethodDescriptionRetrieve the instruction that could not be converted.Retrieve the opcode that could not be converted.Methods inherited from class com.pnfsoftware.jeb.core.exceptions.JebRuntimeException
getUnit, setUnit, withUnitMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DexDecConversionException
public DexDecConversionException()Create a conversion exception without instruction details. -
DexDecConversionException
public DexDecConversionException(int opcode) Create a conversion exception for an opcode.- Parameters:
opcode- Dalvik opcode
-
DexDecConversionException
Create a conversion exception for an instruction.- Parameters:
insn- Dalvik instruction
-
DexDecConversionException
Create a conversion exception for an instruction.- Parameters:
insn- Dalvik instructiondetails- optional conversion details
-
-
Method Details
-
getInstruction
Retrieve the instruction that could not be converted.- Returns:
- the instruction, or null if none was provided
-
getOpcode
Retrieve the opcode that could not be converted.- Returns:
- the opcode, or null if none was provided
-
getMessage
- Overrides:
getMessagein classThrowable
-