diff options
| author | j-p <jp.bruyere@live.be> | 2018-12-11 23:20:54 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-12-11 23:20:54 +0100 |
| commit | eef19b533a0e2ce17f2762d3acfc5990496eaaa0 (patch) | |
| tree | 6f09101bd8097c1a4ca6a216597bb5d4941453fa /src/ParsingException.cs | |
| parent | 65820f61457262b631eba35283c55135aecbc5f2 (diff) | |
| parent | f6732851fe211e22ff91716ac83dffc0cf09d620 (diff) | |
Merge pull request #44 from jpbruyere/xlib
Xlib
Diffstat (limited to 'src/ParsingException.cs')
| -rw-r--r-- | src/ParsingException.cs | 30 |
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); - } - } -} - |