Convert the given DbException into custom Exception.

Namespace: NHibernate.Exceptions
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
Exception Convert(
	AdoExceptionContextInfo adoExceptionContextInfo
)
Visual Basic
Function Convert ( _
	adoExceptionContextInfo As AdoExceptionContextInfo _
) As Exception
Visual C++
Exception^ Convert(
	AdoExceptionContextInfo^ adoExceptionContextInfo
)

Parameters

adoExceptionContextInfo
Type: NHibernate.Exceptions..::..AdoExceptionContextInfo
Available information during exception throw.

Return Value

The resulting Exception to throw.

See Also