BuildException.

BuildException(string, Location, Exception) Constructor

Summary

Initializes a new instance of the NAnt.Core.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.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core
Containing Type
BuildException

Syntax

public BuildException(string message, Location location, Exception innerException)

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.
innerException Exception A nested exception that is the cause of the current exception.

Return Value

Type Description
void