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

public class JebRuntimeException extends RuntimeException
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 Details

    • JebRuntimeException

      protected JebRuntimeException()
    • JebRuntimeException

      public JebRuntimeException(Throwable cause)
    • JebRuntimeException

      public JebRuntimeException(String message)
      Create an exception with a detail message.
      Parameters:
      message - the detail message
    • JebRuntimeException

      public JebRuntimeException(String message, Throwable cause)
      Create an exception with a detail message and cause.
      Parameters:
      message - the detail message
      cause - the cause
  • Method Details

    • withUnit

      public JebRuntimeException withUnit(IUnit unit)
      Associate a unit with this exception and return the same exception instance.
      Parameters:
      unit - the related unit, or null
      Returns:
      this exception
    • setUnit

      public void setUnit(IUnit unit)
      Associate a unit with this exception.
      Parameters:
      unit - the related unit, or null
    • getUnit

      public IUnit getUnit()
      Get the unit associated with this exception.
      Returns:
      the related unit, or null