Class ExceptionHandlerRewriter.RewrittenExceptionHandler

java.lang.Object
org.jf.dexlib2.base.BaseExceptionHandler
org.jf.dexlib2.rewriter.ExceptionHandlerRewriter.RewrittenExceptionHandler
All Implemented Interfaces:
Comparable<ExceptionHandler>, ExceptionHandler
Enclosing class:
ExceptionHandlerRewriter

protected class ExceptionHandlerRewriter.RewrittenExceptionHandler extends BaseExceptionHandler
  • Field Details

  • Constructor Details

    • RewrittenExceptionHandler

      public RewrittenExceptionHandler(@Nonnull ExceptionHandler exceptionHandler)
  • Method Details

    • getExceptionType

      @Nullable public String getExceptionType()
      Description copied from interface: ExceptionHandler
      Gets the type of exception that is handled by this handler.
      Returns:
      The type of exception that is handled by this handler, or null if this is a catch-all handler.
    • getHandlerCodeAddress

      public int getHandlerCodeAddress()
      Description copied from interface: ExceptionHandler
      Gets the code offset of the handler.
      Returns:
      The offset of the handler from the the beginning of the bytecode for the method. The offset will be in terms of 16-bit code units