1 package alt.jiapi.file; 2 3 8 public class ParseException extends RuntimeException { 9 private ClassFile cf; 10 private ConstantPool cp; 11 12 public ParseException(String message, ConstantPool cp) { 13 super(message); 14 15 this.cp = cp; 16 } 17 18 public ParseException(String message, ClassFile cf) { 19 super(message); 20 21 this.cf = cf; 22 } 23 24 public ClassFile getClassFile() { 25 return cf; 26 } 27 28 public ConstantPool getConstantPool() { 29 return cp; 30 } 31 } 32 | Popular Tags |