PersistenceExceptionTranslationInterceptor()
Create a new PersistenceExceptionTranslationInterceptor. Needs to be configured with a PersistenceExceptionTranslator afterwards.
See Also
#setPersistenceExceptionTranslator
PersistenceExceptionTranslationInterceptor(pet: PersistenceExceptionTranslator)
Create a new PersistenceExceptionTranslationInterceptor for the given PersistenceExceptionTranslator.
pet - the PersistenceExceptionTranslator to use
PersistenceExceptionTranslationInterceptor(beanFactory: ListableBeanFactory)
Create a new PersistenceExceptionTranslationInterceptor, autodetecting PersistenceExceptionTranslators in the given BeanFactory.
beanFactory - the ListableBeanFactory to obtaining all PersistenceExceptionTranslators from