1 package org.objectweb.jac.core.rtti; 2 3 public class NoSuchFieldException extends RuntimeException { 4 ClassItem cli; 5 String fieldName; 6 public NoSuchFieldException(ClassItem cli, String fieldName) { 7 super("No such field '"+fieldName+"' in class "+cli.getName()); 8 this.cli = cli; 9 this.fieldName = fieldName; 10 } 11 public ClassItem getClassItem() { 12 return cli; 13 } 14 public String getFieldName() { 15 return fieldName; 16 } 17 } 18 | Popular Tags |