Files
OpenRA/LuaInterface/LuaException.cs
2013-11-18 20:55:58 +13:00

30 lines
666 B
C#

using System;
using System.Runtime.Serialization;
namespace LuaInterface
{
/// <summary>
/// Exceptions thrown by the Lua runtime
/// </summary>
[Serializable]
public class LuaException : Exception
{
public LuaException()
{}
public LuaException(string message) : base(message)
{}
public LuaException(string message, Exception innerException) : base(message, innerException)
{}
protected LuaException(SerializationInfo info, StreamingContext context) : base(info, context)
{}
public override string ToString()
{
return Message;
}
}
}