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