
DynamicCodeException
DynamicCodeException Methods
| DynamicCodeException() | Constructor for the DynamicCodeException class |
| SourceCode() | Returns source code or file name containing the compiler error |
| ErrorId() | Returns compiler error which caused the dynamic code exception |
| ErrorString() | Returns a string representing the compiler error |
| ErrorRow() | Returns the one based error row where the error occurred |
| ErrorColumn() | Returns the one based error column where the error occurred |
Derived Classes
None
See Also
public method DynamicCodeException(string SourceCode, int IOError, string ErrorString, int ErrorRow, int ErrorColumn)
Parameters
string
Source Code string or the file name containing the source code
int
Compiler error identifier for the exception
string
Text description for the compiler error
int
Row number in source code where the first error occurred
int
Column number in source code where the first error occurred
Return Value
None
Description
Constructor for the DynamicCodeException class using the source code (or file name) containing the compiler error, and other information about the compiler error. This exception is normally created automatically by the Aztec system.
DynamicCodeException Class
public method<string> SourceCode()
Parameters
None
Return Value
Source code or the file name containing the source code
Description
This method returns the actual source code, or the file name, which contains the specified compile error. If the error is caused by a LoadModule() call and the "IsFile" flag was set to true, then this will be the file name. If the "IsFile" flag is false, or if the error occurs during any of the Interpret() methods, then this will contain the actual source code which was being compiled.
DynamicCodeException Class
public method<int> ErrorId()
Parameters
None
Return Value
Error id
Description
This method returns the compiler error identifier associated with the dynamic code exception.
DynamicCodeException Class
public method<string> ErrorString()
Parameters
None
Return Value
Description for the specified compile error
Description
This method returns a description of the compile error which occurred during the LoadModule() method or Interpret() family of methods.
DynamicCodeException Class
public method<int> ErrorRow()
Parameters
None
Return Value
Row where error occurred
Description
This method returns the one based row number within the dynamic code where the first compiler error occurred.
DynamicCodeException Class
public method<int> ErrorColumn()
Parameters
None
Return Value
Column where error occurred
Description
This method returns the one based column number within the dynamic code where the first compiler error occurred.
DynamicCodeException Class