pascalabcnet/TreeConverter/TreeConversion/exceptions.cs
Mikhalkovich Stanislav e603b1fd6d Mikhalkovich в Copyright
Заготовка для школьного плагина образцов кода
2019-07-28 23:53:15 +03:00

30 lines
684 B
C#

// Copyright (c) Ivan Bondarev, Stanislav Mikhalkovich (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
//Класс, представляющий внутреннюю ошибку компилятора.
using System;
namespace PascalABCCompiler.TreeConverter
{
public class CompilerInternalError : System.Exception
{
private string error_message="";
public CompilerInternalError()
{
}
public CompilerInternalError(string message)
{
error_message=message;
}
public override string ToString()
{
return ("Compile internal error: "+error_message);
}
}
}