pascalabcnet/TreeConverter/TreeConversion/exceptions.cs
2015-06-01 21:15:17 +02:00

30 lines
637 B
C#

// 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)
//Êëàññ, ïðåäñòàâëÿþùèé âíóòðåííþþ îøèáêó êîìïèëÿòîðà.
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);
}
}
}