Package | Description |
---|---|
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.
|
Modifier and Type | Class and Description |
---|---|
class |
ConversionNotSupportedException
Exception thrown when no suitable editor or converter can be found for a bean property.
|
class |
MethodInvocationException
Thrown when a bean property getter or setter method throws an exception,
analogous to an InvocationTargetException.
|
class |
TypeMismatchException
Exception thrown on a type mismatch when trying to set a bean property.
|
Modifier and Type | Method and Description |
---|---|
PropertyAccessException |
PropertyBatchUpdateException.getPropertyAccessException(String propertyName)
Return the exception for this field, or
null if there isn't any. |
PropertyAccessException[] |
PropertyBatchUpdateException.getPropertyAccessExceptions()
Return an array of the propertyAccessExceptions stored in this object.
|
Constructor and Description |
---|
PropertyBatchUpdateException(PropertyAccessException[] propertyAccessExceptions)
Create a new PropertyBatchUpdateException.
|
Modifier and Type | Method and Description |
---|---|
void |
BindingErrorProcessor.processPropertyAccessException(PropertyAccessException ex,
BindingResult bindingResult)
Translate the given
PropertyAccessException to an appropriate
error registered on the given Errors instance. |
void |
DefaultBindingErrorProcessor.processPropertyAccessException(PropertyAccessException ex,
BindingResult bindingResult) |
Modifier and Type | Class and Description |
---|---|
class |
MethodArgumentConversionNotSupportedException
A ConversionNotSupportedException raised while resolving a method argument.
|
class |
MethodArgumentTypeMismatchException
A TypeMismatchException raised while resolving a controller method argument.
|