sharp-parser/ParserFormatException.cs

19 lines
394 B
C#

using System;
namespace sharp.parser
{
public class ParserFormatException : Exception
{
public String Line { get; private set; }
public int LineNumber { get; private set; }
public int Position { get; private set; }
public ParserFormatException(string message,int lineno,int pos,string line)
:base(message)
{
Line = line;
LineNumber = lineno;
Position = pos;
}
}
}