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