Wraps exceptions that occur during ADO.NET calls.

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

Syntax

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

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

Remarks

Exceptions thrown by various ADO.NET providers are not derived from a common base class (SQLException in Java), so Exception is used instead in NHibernate.

Inheritance Hierarchy

See Also