LuaException.cs 575 B

123456789101112131415161718192021222324
  1. using System;
  2. using System.Runtime.Serialization;
  3. namespace LuaInterface
  4. {
  5. /// <summary>
  6. /// Exceptions thrown by the Lua runtime
  7. /// </summary>
  8. [Serializable]
  9. public class LuaException : Exception
  10. {
  11. public LuaException()
  12. {}
  13. public LuaException(string message) : base(message)
  14. {}
  15. public LuaException(string message, Exception innerException) : base(message, innerException)
  16. {}
  17. protected LuaException(SerializationInfo info, StreamingContext context) : base(info, context)
  18. {}
  19. }
  20. }