类的使用
org.springframework.beans.PropertyAccessException
使用PropertyAccessException的程序包 程序包 说明 org.springframework.beans This package contains interfaces and classes for manipulating Java beans.org.springframework.validation Provides data binding and validation functionality, for usage in business and/or UI layers.org.springframework.web.method.annotation Support classes for annotation-based handler method processing.org.springframework.beans中PropertyAccessException的使用
org.springframework.beans中PropertyAccessException的子类 修饰符和类型 类 说明 classConversionNotSupportedExceptionException thrown when no suitable editor or converter can be found for a bean property.classMethodInvocationExceptionThrown when a bean property getter or setter method throws an exception, analogous to an InvocationTargetException.classTypeMismatchExceptionException thrown on a type mismatch when trying to set a bean property.返回PropertyAccessException的org.springframework.beans中的方法 修饰符和类型 方法 说明 PropertyAccessExceptionPropertyBatchUpdateException. getPropertyAccessException(String propertyName)Return the exception for this field, ornullif there isn't any.PropertyAccessException[]PropertyBatchUpdateException. getPropertyAccessExceptions()Return an array of the propertyAccessExceptions stored in this object.参数类型为PropertyAccessException的org.springframework.beans中的构造器 构造器 说明 PropertyBatchUpdateException(PropertyAccessException[] propertyAccessExceptions)Create a new PropertyBatchUpdateException.org.springframework.validation中PropertyAccessException的使用
参数类型为PropertyAccessException的org.springframework.validation中的方法 修饰符和类型 方法 说明 voidBindingErrorProcessor. processPropertyAccessException(PropertyAccessException ex, BindingResult bindingResult)Translate the givenPropertyAccessExceptionto an appropriate error registered on the givenErrorsinstance.voidDefaultBindingErrorProcessor. processPropertyAccessException(PropertyAccessException ex, BindingResult bindingResult)org.springframework.web.method.annotation中PropertyAccessException的使用
org.springframework.web.method.annotation中PropertyAccessException的子类 修饰符和类型 类 说明 classMethodArgumentConversionNotSupportedExceptionA ConversionNotSupportedException raised while resolving a method argument.classMethodArgumentTypeMismatchExceptionA TypeMismatchException raised while resolving a controller method argument.