Class JebRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.pnfsoftware.jeb.core.exceptions.JebRuntimeException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CannotReadRegisterException,CannotWriteRegisterException,CFGVerificationException,CSimulationException,DebuggerException,DecompilerException,DemoLimitationException,DexDecConversionException,DexParsingException,InterruptionException,NativeAnalyzerException,NativeTypeException,NewerMethodIllegalCallException,ToDoException,TypelibDefinitionException,UnmanglerException,UnsupportedInstructionException
Base class for JEB runtime exceptions.
Public unchecked exception types exposed by JEB, as well as plugin-specific runtime exceptions, should extend this class.
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJebRuntimeException(String message) Create an exception with a detail message.JebRuntimeException(String message, Throwable cause) Create an exception with a detail message and cause.JebRuntimeException(Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
JebRuntimeException
protected JebRuntimeException() -
JebRuntimeException
-
JebRuntimeException
Create an exception with a detail message.- Parameters:
message- the detail message
-
JebRuntimeException
Create an exception with a detail message and cause.- Parameters:
message- the detail messagecause- the cause
-
-
Method Details
-
withUnit
Associate a unit with this exception and return the same exception instance.- Parameters:
unit- the related unit, ornull- Returns:
- this exception
-
setUnit
Associate a unit with this exception.- Parameters:
unit- the related unit, ornull
-
getUnit
Get the unit associated with this exception.- Returns:
- the related unit, or
null
-