The StaDyn Programming Language
Source code documentation of StaDyn, a hybrid static and dynamic typing language.
AssemblerError.cs
Go to the documentation of this file.
1 // --------------------------------------------------------------------------
3 // Project rROTOR
4 // --------------------------------------------------------------------------
5 // File: AssemblerError.cs
6 // Author: Francisco Ortin - francisco.ortin@gmail.com
7 // Description:
8 // Represents the error occurred when the assembler is not capable of
9 // assembling an IL file.
10 // --------------------------------------------------------------------------
11 // Create date: 22-08-2007
12 // Modification date: 22-08-2007
14 
15 using System;
16 using System.Collections.Generic;
17 using System.Text;
18 
19 namespace ErrorManagement {
24  public class AssemblerError : IError {
25 
29  private string description;
30 
34  public string ErrorType { get { return "Assemble Error"; } }
35 
39  public string Description { get { return description; } }
40 
41  #region Constructor
42  public AssemblerError(string ilFileName) {
47  this.description = "Some error detected while assembling the \"" + ilFileName + "\" file.";
48  }
49  #endregion
50  }
51 }
string ErrorType
Gets the name for the error type.
string Description
Gets the description for the error type.
Interfaz for the different error types.
Definition: IError.cs:23
AssemblerError(string ilFileName)
Constructor
Represents the error occurred when the assembler is not capable of assembling an IL file...