The StaDyn Programming Language
Source code documentation of StaDyn, a hybrid static and dynamic typing language.
EntryPointFoundError.cs
Go to the documentation of this file.
1 // -------------------------------------------------------------------------- //
3 // Project rROTOR //
4 // -------------------------------------------------------------------------- //
5 // File: EntryPointFoundError.cs //
6 // Author: Cristina Gonzalez Muņoz - cristi.gm@gmail.com //
7 // Description: //
8 // Represents a error produced when source code has more the one entry //
9 // point defined. //
10 // -------------------------------------------------------------------------- //
11 // Create date: 31-05-2007 //
12 // Modification date: 31-05-2007 //
14 
15 using System;
16 using System.Collections.Generic;
17 using System.Text;
18 
19 namespace ErrorManagement
20 {
26  {
27  #region Constructor
28 
36  : base(loc)
37  {
38  StringBuilder aux = new StringBuilder();
39  aux.AppendFormat("The application has more than one entry point defined.");
40  this.Description = aux.ToString();
41  }
42 
43  #endregion
44  }
45 }
This class encapsulates a location in a specific file. Implements an Inmutable pattern. So it can be used in any context, that is his internal fields never change.
Definition: Location.cs:24
EntryPointFoundError(Location loc)
Constructor of EntryPointFoundError
System.Text.StringBuilder StringBuilder
Definition: CSharpParser.cs:4
Represents a error produced when source code has more the one entry point defined.
Represents an adapter of existing features in every error.
Definition: ErrorAdapter.cs:23