Wraps exceptions that occur during ADO.NET calls.

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

Syntax

C#
[SerializableAttribute]
public class ADOException : HibernateException
Visual Basic
<SerializableAttribute> _
Public Class ADOException _
	Inherits HibernateException
Visual C++
[SerializableAttribute]
public ref class ADOException : public 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