mirror of
https://github.com/Cekis/SWG-ScriptConverter.git
synced 2026-01-16 22:04:29 -05:00
16 lines
404 B
C#
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)))
|
|
{
|
|
|
|
}
|
|
}
|
|
}
|