NAnt SDK Documentation - v0.92

ValidationException Constructor (String, Exception)

Initializes a new instance of the ValidationException class with the specified descriptive message and inner exception.

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

Parameters

message
A descriptive message to include with the exception.
innerException
A nested exception that is the cause of the current exception.

See Also

ValidationException Class | NAnt.Core Namespace | ValidationException Constructor Overload List