Nitro.CompilationException Class Reference

Detailed Description

Represents an error in the compilation of some nitro code.

Inheritance diagram for Nitro.CompilationException:

Public Member Functions

 CompilationException (int lineNumber, string errorMessage)
 Creates a new compilation exception with the given line number the error occured on and a message to show. More...
 
override string ToString ()
 

Public Attributes

int LineNumber
 The line number the error occurred on. More...
 

Constructor & Destructor Documentation

Nitro.CompilationException.CompilationException ( int  lineNumber,
string  errorMessage 
)
inline

Creates a new compilation exception with the given line number the error occured on and a message to show.

Parameters
lineNumberThe line number the error occured on.
errorMessageA message stating why this error has occured.

Member Function Documentation

override string Nitro.CompilationException.ToString ( )
inline

Member Data Documentation

int Nitro.CompilationException.LineNumber

The line number the error occurred on.