1 16 17 package org.springframework.beans; 18 19 26 public class NotReadablePropertyException extends InvalidPropertyException { 27 28 33 public NotReadablePropertyException(Class beanClass, String propertyName) { 34 super(beanClass, propertyName, 35 "Bean property '" + propertyName + "' is not readable or has an invalid getter method: " + 36 "Does the return type of the getter match the parameter type of the setter?"); 37 } 38 39 45 public NotReadablePropertyException(Class beanClass, String propertyName, String msg) { 46 super(beanClass, propertyName, msg); 47 } 48 49 } 50 | Popular Tags |