open class PersistenceExceptionTranslationAdvisor : AbstractPointcutAdvisor
Spring AOP exception translation aspect for use at Repository or DAO layer level. Translates native persistence exceptions into Spring's DataAccessException hierarchy, based on a given PersistenceExceptionTranslator.
Author
Rod Johnson
Author
Juergen Hoeller
Since
2.0
See Also
org.springframework.dao.DataAccessExceptionorg.springframework.dao.support.PersistenceExceptionTranslator
PersistenceExceptionTranslationAdvisor(persistenceExceptionTranslator: PersistenceExceptionTranslator, repositoryAnnotationType: Class<out Annotation>)
Create a new PersistenceExceptionTranslationAdvisor. |
open fun getAdvice(): Advice |
|
open fun getPointcut(): Pointcut |