Defines a contract for implementations that know how to convert a DbException
into NHibernate's ADOException hierarchy.
Namespace: NHibernate.ExceptionsAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public interface ISQLExceptionConverter |
Visual Basic |
---|
Public Interface ISQLExceptionConverter |
Visual C++ |
---|
public interface class ISQLExceptionConverter |
Remarks
Inspired by Spring's SQLExceptionTranslator.
Implementations must have a constructor which takes a
IViolatedConstraintNameExtracter parameter.
Implementations may implement IConfigurable if they need to perform
configuration steps prior to first use.