Implementation of ADOException indicating that the requested DML operation resulted in a violation of a defined integrity constraint.

Namespace: NHibernate.Exceptions
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

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

Inheritance Hierarchy

System..::..Object
  System..::..Exception
    System..::..ApplicationException
      NHibernate..::..HibernateException
        NHibernate..::..ADOException
          NHibernate.Exceptions..::..ConstraintViolationException

See Also