Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

HibernateAccessor.ConvertAdoAccessException(ADOException) Method

Converts the ADO.NET access exception to an appropriate exception from the

org.springframework.dao
hierarchy. Can be overridden in subclasses.

[Visual Basic]
Protected Overridable Overloads Sub ConvertAdoAccessException( _
   ByVal ex As ADOException _
)
[C#]
protected virtual DataAccessException ConvertAdoAccessException(
   ADOException ex
);

Parameters

ex
ADOException that occured, wrapping underlying ADO.NET exception.

Return Value

the corresponding DataAccessException instance

See Also

HibernateAccessor Class | Spring.Data.NHibernate Namespace | HibernateAccessor.ConvertAdoAccessException Overload List