Files
SWG-ScriptConverter/ScriptConverter/Parser/LexerException.cs
Rohan Singh ad50a19057 Add code
2019-01-23 22:52:45 -05:00

16 lines
404 B
C#

using System;
using JetBrains.Annotations;
namespace ScriptConverter.Parser
{
class LexerException : Exception
{
[StringFormatMethod("format")]
internal LexerException(string fileName, SourcePosition pos, string format, params object[] args)
: base(string.Format("{0}({1}): {2}", fileName ?? "null", pos, string.Format(format, args)))
{
}
}
}