Any exception that occurs in the O-R persistence layer.
Namespace:
NHibernateAssembly: 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
System..::.Object
System..::.Exception
System..::.ApplicationException
NHibernate..::.HibernateException
NHibernate..::.ADOException
NHibernate.AdoNet..::.TooManyRowsAffectedException
NHibernate.Cache..::.CacheException
NHibernate..::.CallbackException
NHibernate.Classic..::.ValidationFailure
NHibernate.Id..::.IdentifierGenerationException
NHibernate..::.InstantiationException
NHibernate..::.LazyInitializationException
NHibernate..::.MappingException
NHibernate..::.NonUniqueObjectException
NHibernate..::.NonUniqueResultException
NHibernate..::.PersistentObjectException
NHibernate..::.PropertyAccessException
NHibernate..::.PropertyValueException
NHibernate..::.QueryException
NHibernate..::.StaleStateException
NHibernate..::.TransactionException
NHibernate..::.TransientObjectException
NHibernate.Type..::.SerializationException
NHibernate..::.UnresolvableObjectException
NHibernate..::.WrongClassException
System..::.Exception
System..::.ApplicationException
NHibernate..::.HibernateException
NHibernate..::.ADOException
NHibernate.AdoNet..::.TooManyRowsAffectedException
NHibernate.Cache..::.CacheException
NHibernate..::.CallbackException
NHibernate.Classic..::.ValidationFailure
NHibernate.Id..::.IdentifierGenerationException
NHibernate..::.InstantiationException
NHibernate..::.LazyInitializationException
NHibernate..::.MappingException
NHibernate..::.NonUniqueObjectException
NHibernate..::.NonUniqueResultException
NHibernate..::.PersistentObjectException
NHibernate..::.PropertyAccessException
NHibernate..::.PropertyValueException
NHibernate..::.QueryException
NHibernate..::.StaleStateException
NHibernate..::.TransactionException
NHibernate..::.TransientObjectException
NHibernate.Type..::.SerializationException
NHibernate..::.UnresolvableObjectException
NHibernate..::.WrongClassException