aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/ParsingException.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ParsingException.cs')
-rw-r--r--src/ParsingException.cs30
1 files changed, 0 insertions, 30 deletions
diff --git a/src/ParsingException.cs b/src/ParsingException.cs
deleted file mode 100644
index 1b596981..00000000
--- a/src/ParsingException.cs
+++ /dev/null
@@ -1,30 +0,0 @@
-using System;
-
-namespace Crow.Coding
-{
- public class ParserException : Exception
- {
- public int Line;
- public int Column;
- public string Source;
- public ParserException(int line, int column, string txt, string source = null)
- : base(txt)
- {
- Line = line;
- Column = column;
- Source = source;
- }
- public ParserException(int line, int column, string txt, Exception innerException, string source = null)
- : base(txt, innerException)
- {
- Line = line;
- Column = column;
- Source = source;
- }
- public override string ToString ()
- {
- return string.Format("{3}:({0},{1}): {2}", Line, Column, Message, Source);
- }
- }
-}
-