Initializes a new instance of the ValidationFailure class.

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

Syntax

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

Parameters

message
Type: System..::..String
The message that describes the error.
innerException
Type: System..::..Exception
The exception that is the cause of the current exception. If the innerException parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception.

See Also