1 package jrre.classloader.classfile.attributes;
2
3 public class ExceptionTableEntry{
4
5 private int startPC,endPC,handlerPC,catchType;
6
7 public ExceptionTableEntry(){}
8
9 public ExceptionTableEntry(int startPC,int endPC,int handlerPC,int catchType){
10 this.startPC = startPC;
11 this.endPC = endPC;
12 this.handlerPC = handlerPC;
13 this.catchType = catchType;
14 }
15
16 public String toString(){
17
18 StringBuffer toReturn = new StringBuffer();
19
20 toReturn.append("Exception Table Entry: ");
21 toReturn.append("\n\t\t\t\tStart PC: "+startPC);
22 toReturn.append("\n\t\t\t\tEnd PC: "+endPC);
23 toReturn.append("\n\t\t\t\tHandler PC: "+handlerPC);
24 toReturn.append("\n\t\t\t\tCatch Type: "+catchType);
25
26 return toReturn.toString();
27 }
28 }
This page was automatically generated by Maven