Class ProcessorException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.pnfsoftware.jeb.core.exceptions.JebException
com.pnfsoftware.jeb.core.units.code.asm.processor.ProcessorException
All Implemented Interfaces:
Serializable

public class ProcessorException extends JebException
Exception raised by processors when reporting errors found in the machine code to be parsed (eg, invalid opcodes).

Other errors, inherent to the processor itself (eg, parsing limitations, bugs) should be reported as standard RuntimeException or derived.
A special case concerns parsing errors when the opcode is unsupported: it may be impossible to report an accurate error (is it a parsing limitation at a given time? does the instruction truly not exist, or was it simply added in a subsequent vendor revision?). For those, the parser may raise UnsupportedInstructionException.

See Also:
  • Constructor Details

    • ProcessorException

      public ProcessorException()
    • ProcessorException

      public ProcessorException(String message)
    • ProcessorException

      public ProcessorException(Throwable cause)
    • ProcessorException

      public ProcessorException(String message, Throwable cause)