JintException.cs 638 B

12345678910111213141516171819202122232425262728
  1. using System;
  2. using System.Runtime.Serialization;
  3. namespace Jint.Runtime
  4. {
  5. /// <summary>
  6. /// Base class for exceptions thrown by Jint.
  7. /// </summary>
  8. [Serializable]
  9. public abstract class JintException : Exception
  10. {
  11. protected JintException()
  12. {
  13. }
  14. protected JintException(SerializationInfo info, StreamingContext context) : base(info, context)
  15. {
  16. }
  17. protected JintException(string message) : base(message)
  18. {
  19. }
  20. protected JintException(string message, Exception innerException) : base(message, innerException)
  21. {
  22. }
  23. }
  24. }