open class ChainedPersistenceExceptionTranslator : PersistenceExceptionTranslator
Implementation of PersistenceExceptionTranslator that supports chaining, allowing the addition of PersistenceExceptionTranslator instances in order. Returns non-null on the first (if any) match.
Author
Rod Johnson
Author
Juergen Hoeller
Since
2.0
ChainedPersistenceExceptionTranslator()
Implementation of PersistenceExceptionTranslator that supports chaining, allowing the addition of PersistenceExceptionTranslator instances in order. Returns |
fun addDelegate(pet: PersistenceExceptionTranslator): Unit
Add a PersistenceExceptionTranslator to the chained delegate list. |
|
fun getDelegates(): Array<PersistenceExceptionTranslator>
Return all registered PersistenceExceptionTranslator delegates (as array). |
|
open fun translateExceptionIfPossible(ex: RuntimeException): DataAccessException |