1 17 package org.apache.bcel.verifier.structurals; 18 19 20 import org.apache.bcel.generic.InstructionHandle; 21 import org.apache.bcel.generic.ObjectType; 22 23 31 public class ExceptionHandler{ 32 33 private ObjectType catchtype; 34 35 36 private InstructionHandle handlerpc; 37 38 39 ExceptionHandler(ObjectType catch_type, InstructionHandle handler_pc){ 40 catchtype = catch_type; 41 handlerpc = handler_pc; 42 } 43 44 47 public ObjectType getExceptionType(){ 48 return catchtype; 49 } 50 51 54 public InstructionHandle getHandlerStart(){ 55 return handlerpc; 56 } 57 } 58 | Popular Tags |