interface ErrorsStrategy
| Type Params | Return Type | Name and description |
|---|---|---|
|
abstract void |
handleException(java.lang.Throwable t, java.lang.Object bean, java.util.Map properties, java.lang.Object source, java.lang.String operation, TransactionStatus transactionStatus)
|
|
abstract void |
handleValidationErrors(java.lang.Object bean, java.lang.Object source, java.lang.String operation, TransactionStatus transactionStatus)
|
t - the exceptionbean - a domain class orproperties - the properties being used to create or update the instance (or null if deleting)source - caller, to help determine how to handle the errors (typically the ui service or a controller)operation - where the problem happened, will typically be the method nametransactionStatus - the current transactionStatus (to call setRollbackOnly(), etc.)bean - a domain class orsource - caller, to help determine how to handle the errors (typically the ui service or a controller)operation - where the problem happened, will typically be the method nametransactionStatus - the current transactionStatus (to call setRollbackOnly(), etc.)