ExpressionException.cs 767 B

123456789101112131415161718192021222324252627282930313233
  1. using System;
  2. using System.Runtime.Serialization;
  3. namespace GDNXFD.Alert.Interpreter
  4. {
  5. [Serializable]
  6. public class ExpressionException : ApplicationException
  7. {
  8. public ExpressionException() : base("表达式解析失败.")
  9. {
  10. }
  11. public ExpressionException(string message) : base(message)
  12. {
  13. }
  14. public ExpressionException(Exception innerException) : base(innerException.Message, innerException)
  15. {
  16. }
  17. public ExpressionException(string message, Exception innerException) : base(message, innerException)
  18. {
  19. }
  20. protected ExpressionException(SerializationInfo info, StreamingContext context)
  21. : base(info, context)
  22. {
  23. }
  24. }
  25. }