Summary
Initializes a new instance of the
NAnt.Core.ValidationException
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
- ValidationException
Syntax
public ValidationException(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 |
