Initializes a new instance of the HibernateException class.

Namespace:  NHibernate
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Public Sub New ( _
	innerException As Exception _
)
C#
public HibernateException(
	Exception innerException
)
Visual C++
public:
HibernateException(
	Exception^ innerException
)
JavaScript
NHibernate.HibernateException = function(innerException);

Parameters

innerException
Type: System..::.Exception
The exception that is the cause of the current exception. If the innerException parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception.

See Also