1 8 14 package jfun.yan; 15 16 import jfun.util.Misc; 17 18 26 public class IrresolveablePropertyException extends UnsatisfiedComponentException { 27 private final Object lkey; 28 private final Class type; 29 33 public Object getPropertyKey() { 34 return lkey; 35 } 36 40 public Class getParameterType() { 41 return type; 42 } 43 49 public IrresolveablePropertyException(final Object ckey, final Object lkey, 50 final Class type) { 51 super(ckey, "The property " + lkey + " of type " 52 +Misc.getTypeName(type) + " for component <" + ckey 53 + "> is not resolveable"); 54 this.lkey = lkey; 55 this.type = type; 56 } 57 } 58 | Popular Tags |