Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

PersistenceExceptionTranslationAdvisor Constructor

Initializes a new instance of the PersistenceExceptionTranslationAdvisor class.

[Visual Basic]
Public Overloads Sub New( _
   ByVal persistenceExceptionTranslator As IPersistenceExceptionTranslator, _
   ByVal repositoryAttributeType As Type _
)
[C#]
PersistenceExceptionTranslationAdvisor(
   IPersistenceExceptionTranslator persistenceExceptionTranslator,
   Type repositoryAttributeType
);

Parameters

persistenceExceptionTranslator
The persistence exception translator to use.
repositoryAttributeType
Type of the repository attribute to check for.

See Also

PersistenceExceptionTranslationAdvisor Class | Spring.Dao.Attributes Namespace | PersistenceExceptionTranslationAdvisor Constructor Overload List