예제 #1
0
 /// <summary>
 /// Initializes a new instance of the Exception class.
 /// </summary>
 /// <param name="message"></param>
 /// <param name="position"></param>
 internal CompilingException(string message, Position position)
     : base("SYNTAX " + message, position)
 {
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the Exception class.
 /// </summary>
 /// <param name="message"></param>
 /// <param name="position"></param>
 public PositionException(string message, Position position)
     : base(string.Format("{0} {1}", message, position.ToString()))
 {
     this.position = position;
 }
예제 #3
0
파일: Error.cs 프로젝트: fjiang2/sqlcon
 public Error(Position pos)
 {
     this.pos = pos;
 }