Any exception that occurs in the O-R persistence layer.

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

Syntax

Visual Basic (Declaration)
<SerializableAttribute> _
Public Class HibernateException _
	Inherits ApplicationException
C#
[SerializableAttribute]
public class HibernateException : ApplicationException
Visual C++
[SerializableAttribute]
public ref class HibernateException : public ApplicationException
JavaScript
NHibernate.HibernateException = function();

Type.createClass(
	'NHibernate.HibernateException',
	ApplicationException);

Remarks

Exceptions that occur in the database layer are left as native exceptions.

Inheritance Hierarchy

See Also