Summary
Thrown whenever an error occurs during the build.
- Assembly
- NAnt
.Core .dll - Namespace
- NAnt
.Core - Base Types
-
- ApplicationException
- BuildException
graph BT
Type-->Base0["BuildException"]
click Base0 "/api/NAnt.Core/BuildException"
Base0-->Base1["ApplicationException"]
Type["ValidationException"]
class Type type-node
Syntax
[Serializable()]
public class ValidationException : BuildException
Attributes
Type | Description |
---|---|
Serializable |
Constructors
Name | Summary |
---|---|
ValidationException |
Initializes a new instance of the NAnt.Core.ValidationException
class.
|
ValidationException |
Initializes a new instance of the NAnt.Core.ValidationException
class with serialized data.
|
ValidationException |
Initializes a new instance of the NAnt.Core.ValidationException
class with a descriptive message.
|
ValidationException |
Initializes a new instance of the NAnt.Core.ValidationException
class with the specified descriptive message and inner exception.
|
ValidationException |
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.
|
ValidationException |
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.
|
Properties
Name | Value | Summary |
---|---|---|
Location | Location |
Gets the location in the build file of the element from which the
exception originated.
Inherited from BuildException
|
Message | string |
Gets a message that describes the current exception.
Inherited from BuildException
|
RawMessage | string |
Gets the raw message as specified when the exception was
constructed.
Inherited from BuildException
|
Methods
Name | Value | Summary |
---|---|---|
GetObjectData |
void |
Serializes this object into the
System.Runtime.Serialization.SerializationInfo provided.
Inherited from BuildException
|
ToString |
string |
Creates and returns a string representation of the current
exception.
Inherited from BuildException
|