Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ValidationException Constructor

Creates a new instance of the ValidationException class with the specified message, root cause and validation errors.

[Visual Basic]
Public Overloads Sub New( _
   ByVal message As String, _
   ByVal rootCause As Exception, _
   ByVal errors As IValidationErrors _
)
[C#]
ValidationException(
   string message,
   Exception rootCause,
   IValidationErrors errors
);

Parameters

message
A message about the exception.
rootCause
The root exception that is being wrapped.
errors
Validation errors.

See Also

ValidationException Class | Spring.Validation Namespace | ValidationException Constructor Overload List