Initializes a new instance of the ConstraintViolationException class

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

Syntax

C#
public ConstraintViolationException(
	string message,
	Exception innerException,
	string constraintName
)
Visual Basic
Public Sub New ( _
	message As String, _
	innerException As Exception, _
	constraintName As String _
)
Visual C++
public:
ConstraintViolationException(
	String^ message, 
	Exception^ innerException, 
	String^ constraintName
)

Parameters

message
Type: System..::..String

[Missing <param name="message"/> documentation for "M:NHibernate.Exceptions.ConstraintViolationException.#ctor(System.String,System.Exception,System.String)"]

innerException
Type: System..::..Exception

[Missing <param name="innerException"/> documentation for "M:NHibernate.Exceptions.ConstraintViolationException.#ctor(System.String,System.Exception,System.String)"]

constraintName
Type: System..::..String

[Missing <param name="constraintName"/> documentation for "M:NHibernate.Exceptions.ConstraintViolationException.#ctor(System.String,System.Exception,System.String)"]

See Also