NAnt SDK Documentation - v0.92

BuildException Constructor (String, Location, Exception)

Initializes a new instance of the BuildException 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 BuildException(
   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

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