BuildException.

BuildException(string, Location) Constructor

Summary

Initializes a new instance of the NAnt.Core.BuildException class with a descriptive message and the location in the build file that caused the exception.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core
Containing Type
BuildException

Syntax

public BuildException(string message, Location location)

Parameters

Name Type Description
message string A descriptive message to include with the exception.
location Location The location in the build file where the exception occurred.

Return Value

Type Description
void