Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

HibernateTransactionManager.ConvertHibernateAccessException Method

Convert the given HibernateException to an appropriate exception from the Spring.Dao hierarchy. Can be overridden in subclasses.

[Visual Basic]
Protected Overridable Sub ConvertHibernateAccessException( _
   ByVal ex As HibernateException _
)
[C#]
protected virtual DataAccessException ConvertHibernateAccessException(
   HibernateException ex
);

Parameters

ex
The HibernateException that occured.

Return Value

The corresponding DataAccessException instance

See Also

HibernateTransactionManager Class | Spring.Data.NHibernate Namespace