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
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 Summary
ConstructorsConstructorDescriptionProcessorException
(String message) ProcessorException
(String message, Throwable cause) ProcessorException
(Throwable cause) -
Method Summary
Methods inherited from class com.pnfsoftware.jeb.core.exceptions.JebException
getUnit, setUnit, withUnit
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ProcessorException
public ProcessorException() -
ProcessorException
-
ProcessorException
-
ProcessorException
-