Add LuaInterface project

This commit is contained in:
ScottNZ
2013-11-15 21:55:38 +13:00
parent 55423b159a
commit 0a50371a37
21 changed files with 5425 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
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;
}
}
}