- All Implemented Interfaces:
- Serializable, org.springframework.aop.Advisor, org.springframework.aop.PointcutAdvisor, org.springframework.core.Ordered
public class PersistenceExceptionTranslationAdvisor
extends org.springframework.aop.support.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.
- Since:
- 2.0
- Author:
- Rod Johnson, Juergen Hoeller
- See Also:
DataAccessException
,
PersistenceExceptionTranslator
,
Serialized Form