Class ExceptionTableEntry


public class ExceptionTableEntry extends Object
An entry in an exception table.
  • Constructor Details

    • ExceptionTableEntry

      public ExceptionTableEntry(int startPC, int endPC, int handlerPC, CPClass catchType)
      Constructs a new ExceptionTableEntry. Exception tables are of two kinds: either a normal one (with a Throwable as the catchType) or a finally clause (which has no catchType). In the class file, the finally clause is represented as catchType == 0. To create a finally clause with this method, pass in null for the catchType.
      startPC - int
      endPC - int
      handlerPC - int
      catchType - CPClass (if it's a normal catch) or null (if it's a finally clause).
  • Method Details