public class PersistenceExceptionTranslationAdvisor extends AbstractPointcutAdvisor
DataAccessException,
PersistenceExceptionTranslator,
Serialized FormEMPTY_ADVICEHIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Constructor and Description |
|---|
PersistenceExceptionTranslationAdvisor(PersistenceExceptionTranslator persistenceExceptionTranslator,
Class<? extends Annotation> repositoryAnnotationType)
Create a new PersistenceExceptionTranslationAdvisor.
|
| Modifier and Type | Method and Description |
|---|---|
Advice |
getAdvice()
Return the advice part of this aspect.
|
Pointcut |
getPointcut()
Get the Pointcut that drives this advisor.
|
equals, getOrder, hashCode, isPerInstance, setOrderpublic PersistenceExceptionTranslationAdvisor(PersistenceExceptionTranslator persistenceExceptionTranslator, Class<? extends Annotation> repositoryAnnotationType)
persistenceExceptionTranslator - the PersistenceExceptionTranslator to userepositoryAnnotationType - the annotation type to check forpublic Advice getAdvice()
AdvisorMethodInterceptor,
BeforeAdvice,
ThrowsAdvice,
AfterReturningAdvicepublic Pointcut getPointcut()
PointcutAdvisor