NAnt SDK Documentation - v0.92

ValidationException Constructor (String, Location, Exception)

Initializes a new instance of the ValidationException class with a descriptive message, the location in the build file and an instance of the exception that is the cause of the current exception.

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

Parameters

message
A descriptive message to include with the exception.
location
The location in the build file where the exception occured.
innerException
A nested exception that is the cause of the current exception.

See Also

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