Wraps exceptions that occur during ADO.NET calls.
Namespace:
NHibernateAssembly: 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
System..::.Object
System..::.Exception
System..::.ApplicationException
NHibernate..::.HibernateException
NHibernate..::.ADOException
System..::.Exception
System..::.ApplicationException
NHibernate..::.HibernateException
NHibernate..::.ADOException