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: NHibernate
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
[SerializableAttribute]
public class NonUniqueResultException : HibernateException
Visual Basic
<SerializableAttribute> _
Public Class NonUniqueResultException _
	Inherits HibernateException
Visual C++
[SerializableAttribute]
public ref class NonUniqueResultException : public HibernateException

Inheritance Hierarchy

System..::..Object
  System..::..Exception
    System..::..ApplicationException
      NHibernate..::..HibernateException
        NHibernate..::..NonUniqueResultException

See Also