AdoExceptionTranslator Property
Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

HibernateAccessor.AdoExceptionTranslator Property

Set the ADO.NET exception translator for this instance. Applied to System.Data.Common.DbException (or provider specific exception type in .NET 1.1) thrown by callback code, be it direct DbException or wrapped Hibernate ADOExceptions.

The default exception translator is either a ErrorCodeExceptionTranslator if a DbProvider is available, or a FalbackExceptionTranslator otherwise

[Visual Basic]
Public MustOverride Property AdoExceptionTranslator() As IAdoExceptionTranslator
   Public Get
   End Get
   Public Set
   End Set
End Property
public abstract IAdoExceptionTranslator AdoExceptionTranslator { public get; public set; }

Property Value

The ADO exception translator.

See Also

HibernateAccessor Class | Spring.Data.NHibernate Namespace