Thrown when the application calls IQuery.UniqueResult()
and the query returned more than one result. Unlike all other NHibernate
exceptions, this one is recoverable!
Namespace:
NHibernateAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
<SerializableAttribute> _ Public Class NonUniqueResultException _ Inherits HibernateException |
C# |
---|
[SerializableAttribute] public class NonUniqueResultException : HibernateException |
Visual C++ |
---|
[SerializableAttribute] public ref class NonUniqueResultException : public HibernateException |
JavaScript |
---|
NHibernate.NonUniqueResultException = function(); Type.createClass( 'NHibernate.NonUniqueResultException', NHibernate.HibernateException); |
Inheritance Hierarchy
System..::.Object
System..::.Exception
System..::.ApplicationException
NHibernate..::.HibernateException
NHibernate..::.NonUniqueResultException
System..::.Exception
System..::.ApplicationException
NHibernate..::.HibernateException
NHibernate..::.NonUniqueResultException