public class PersistenceExceptionTranslationAdvisor extends org.springframework.aop.support.AbstractPointcutAdvisor
DataAccessException,
PersistenceExceptionTranslator,
Serialized FormHIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Constructor and Description |
|---|
PersistenceExceptionTranslationAdvisor(PersistenceExceptionTranslator persistenceExceptionTranslator,
Class<? extends Annotation> repositoryAnnotationType)
Create a new PersistenceExceptionTranslationAdvisor.
|
| Modifier and Type | Method and Description |
|---|---|
org.aopalliance.aop.Advice |
getAdvice() |
org.springframework.aop.Pointcut |
getPointcut() |
equals, getOrder, hashCode, isPerInstance, setOrderpublic PersistenceExceptionTranslationAdvisor(PersistenceExceptionTranslator persistenceExceptionTranslator, Class<? extends Annotation> repositoryAnnotationType)
persistenceExceptionTranslator - the PersistenceExceptionTranslator to userepositoryAnnotationType - the annotation type to check forpublic org.aopalliance.aop.Advice getAdvice()
public org.springframework.aop.Pointcut getPointcut()