|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BeanPopulationExceptionHandler
Used to handle exception thrown during the population of a bean property.
Field Summary | |
---|---|
static BeanPopulationExceptionHandler |
ABORT
Exception handler which aborts by throwing or re-throwing a RuntimeException or Error. |
static BeanPopulationExceptionHandler |
CONTINUE
Exception handler which always continue by logging and then igoring the exception or error. |
Method Summary | |
---|---|
void |
handleException(Throwable t,
Log log)
Handles the exception thrown during the population of a bean property. |
BeanPopulationExceptionHandler |
initFromBean(Object fromBean)
Sets the bean from which the property is populated from, ie the source bean. |
BeanPopulationExceptionHandler |
initPropertyName(String propertyName)
Sets the name of the property being populated. |
BeanPopulationExceptionHandler |
initReaderMethod(Method readerMethod)
Sets the reader method used to retreive the value from the source bean. |
BeanPopulationExceptionHandler |
initSetterMethod(Method setterMethod)
Sets the setter method used to set the value to the target bean. |
BeanPopulationExceptionHandler |
initToBean(Object toBean)
Sets the bean to which the property is populated to, ie the target bean. |
Field Detail |
---|
static final BeanPopulationExceptionHandler ABORT
static final BeanPopulationExceptionHandler CONTINUE
Method Detail |
---|
void handleException(Throwable t, Log log)
BeanPopulationExceptionHandler initPropertyName(String propertyName)
BeanPopulationExceptionHandler initFromBean(Object fromBean)
BeanPopulationExceptionHandler initReaderMethod(Method readerMethod)
BeanPopulationExceptionHandler initToBean(Object toBean)
BeanPopulationExceptionHandler initSetterMethod(Method setterMethod)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |