pascalabcnet/TreeConverter/TreeConversion/exceptions.cs

30 lines
683 B
C#
Raw Normal View History

2015-06-01 22:15:17 +03:00
// Copyright (c) Ivan Bondarev, Stanislav Mihalkovich (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
//Класс, представляющий внутреннюю ошибку компилятора.
2015-05-14 22:35:07 +03:00
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);
}
}
}