C# Class Evaluator.CompilationException

An exception class providing access to errors thrown by a programmatically-accessed compiler.
Inheritance: System.Exception
Mostrar archivo Open project: swax/SwarmNLP

Public Methods

Method Description
CompilationException ( CompilerErrorCollection resultErrors ) : System

Initializes a new instance of the CompilationException class.

CompilationException ( CompilerErrorCollection resultErrors, String resultSource ) : System

Initializes a new instance of the CompilationException class.

ToString ( ) : string

Returns a System.String that represents the current CompilationException.

Method Details

CompilationException() public method

Initializes a new instance of the CompilationException class.
public CompilationException ( CompilerErrorCollection resultErrors ) : System
resultErrors System.CodeDom.Compiler.CompilerErrorCollection /// The collection of errors generated by the compiler. ///
return System

CompilationException() public method

Initializes a new instance of the CompilationException class.
public CompilationException ( CompilerErrorCollection resultErrors, String resultSource ) : System
resultErrors System.CodeDom.Compiler.CompilerErrorCollection /// The collection of errors generated by the compiler. ///
resultSource String /// The source that the compiler attempted to compile. ///
return System

ToString() public method

Returns a System.String that represents the current CompilationException.
public ToString ( ) : string
return string