Wraps exceptions that occur during ADO.NET calls.
Namespace: NHibernateAssembly: 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
System..::..Object
System..::..Exception
System..::..ApplicationException
NHibernate..::..HibernateException
NHibernate..::..ADOException
NHibernate.Exceptions..::..ADOConnectionException
NHibernate.Exceptions..::..ConstraintViolationException
NHibernate.Exceptions..::..DataException
NHibernate.Exceptions..::..GenericADOException
NHibernate.Exceptions..::..LockAcquisitionException
NHibernate.Exceptions..::..SQLGrammarException
System..::..Exception
System..::..ApplicationException
NHibernate..::..HibernateException
NHibernate..::..ADOException
NHibernate.Exceptions..::..ADOConnectionException
NHibernate.Exceptions..::..ConstraintViolationException
NHibernate.Exceptions..::..DataException
NHibernate.Exceptions..::..GenericADOException
NHibernate.Exceptions..::..LockAcquisitionException
NHibernate.Exceptions..::..SQLGrammarException