Class DexDecConversionException

All Implemented Interfaces:
Serializable

public class DexDecConversionException extends JebRuntimeException
A Dalvik-to-IR conversion exception.
See Also:
  • 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

      public DexDecConversionException(IDalvikInstruction insn)
      Create a conversion exception for an instruction.
      Parameters:
      insn - Dalvik instruction
    • DexDecConversionException

      public DexDecConversionException(IDalvikInstruction insn, String details)
      Create a conversion exception for an instruction.
      Parameters:
      insn - Dalvik instruction
      details - optional conversion details
  • Method Details

    • getInstruction

      public IDalvikInstruction getInstruction()
      Retrieve the instruction that could not be converted.
      Returns:
      the instruction, or null if none was provided
    • getOpcode

      public Integer getOpcode()
      Retrieve the opcode that could not be converted.
      Returns:
      the opcode, or null if none was provided
    • getMessage

      public String getMessage()
      Overrides:
      getMessage in class Throwable