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
ConstructorsConstructorDescriptionCreate an exception.ProcessorException(String message) Create an exception with a message.ProcessorException(String message, Throwable cause) Create an exception with a message and cause.ProcessorException(Throwable cause) Create an exception with a cause. -
Method Summary
Methods inherited from class com.pnfsoftware.jeb.core.exceptions.JebException
getUnit, setUnit, withUnitMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ProcessorException
public ProcessorException()Create an exception. -
ProcessorException
Create an exception with a message.- Parameters:
message- detail message
-
ProcessorException
Create an exception with a cause.- Parameters:
cause- cause
-
ProcessorException
Create an exception with a message and cause.- Parameters:
message- detail messagecause- cause
-