62 lines
No EOL
1.6 KiB
C#
62 lines
No EOL
1.6 KiB
C#
using System.Runtime.Serialization;
|
|
|
|
namespace KumiScript.Reader
|
|
{
|
|
[Serializable]
|
|
internal class ParserEndOfFileException : Exception
|
|
{
|
|
public ParserEndOfFileException()
|
|
{
|
|
}
|
|
|
|
public ParserEndOfFileException(string? message) : base(message)
|
|
{
|
|
}
|
|
|
|
public ParserEndOfFileException(string? message, Exception? innerException) : base(message, innerException)
|
|
{
|
|
}
|
|
|
|
protected ParserEndOfFileException(SerializationInfo info, StreamingContext context) : base(info, context)
|
|
{
|
|
}
|
|
}
|
|
|
|
internal class ParserUnexpectedTokenException : Exception
|
|
{
|
|
public ParserUnexpectedTokenException()
|
|
{
|
|
}
|
|
|
|
public ParserUnexpectedTokenException(string? message) : base(message)
|
|
{
|
|
}
|
|
|
|
public ParserUnexpectedTokenException(string? message, Exception? innerException) : base(message, innerException)
|
|
{
|
|
}
|
|
|
|
protected ParserUnexpectedTokenException(SerializationInfo info, StreamingContext context) : base(info, context)
|
|
{
|
|
}
|
|
}
|
|
|
|
internal class ParserUnexpectedEndOfFileException : Exception
|
|
{
|
|
public ParserUnexpectedEndOfFileException()
|
|
{
|
|
}
|
|
|
|
public ParserUnexpectedEndOfFileException(string? message) : base(message)
|
|
{
|
|
}
|
|
|
|
public ParserUnexpectedEndOfFileException(string? message, Exception? innerException) : base(message, innerException)
|
|
{
|
|
}
|
|
|
|
protected ParserUnexpectedEndOfFileException(SerializationInfo info, StreamingContext context) : base(info, context)
|
|
{
|
|
}
|
|
}
|
|
} |