1 8 14 package jfun.yan; 15 16 import jfun.util.Misc; 17 18 26 public class IllegalPropertyNameException extends InvalidPropertyException { 27 28 34 public IllegalPropertyNameException(Class type, String name, String msg) { 35 super(type, name, msg); 36 } 37 38 39 44 public IllegalPropertyNameException(Class type, String name) { 45 super(type, name, "invalid property name: " + name + " in type " 46 +Misc.getTypeName(type)); 47 } 48 } 49 | Popular Tags |