diff options
Diffstat (limited to 'CrowIDE/src/SourceEditor/ParsingException.cs')
| -rw-r--r-- | CrowIDE/src/SourceEditor/ParsingException.cs | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/CrowIDE/src/SourceEditor/ParsingException.cs b/CrowIDE/src/SourceEditor/ParsingException.cs deleted file mode 100644 index 88c51c9b..00000000 --- a/CrowIDE/src/SourceEditor/ParsingException.cs +++ /dev/null @@ -1,22 +0,0 @@ -using System; - -namespace Crow.Coding -{ - public class ParsingException : Exception - { - public int Line; - public int Column; - public ParsingException(Parser parser, string txt) - : base(string.Format("Parser exception ({0},{1}): {2}", parser.currentLine, parser.currentColumn, txt)) - { - Line = parser.currentLine; - Column = parser.currentColumn; - } - public ParsingException(Parser parser, string txt, Exception innerException) - : base(txt, innerException) - { - txt = string.Format("Parser exception ({0},{1}): {2}", parser.currentLine, parser.currentColumn, txt); - } - } -} - |