StateEngineException.cs 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /*===============================================================================
  2. * Event.cs
  3. *
  4. * Change history
  5. * When Who Comment
  6. * ---------- ------ ----------------------------------
  7. * 2005-03-02 RMa Created
  8. *
  9. ---------------------------------------------------------------------------------*/
  10. using System;
  11. using System.Collections.Generic;
  12. using System.Text;
  13. namespace Wayne.Lib.StateEngine
  14. {
  15. /// <summary>
  16. /// Wayne.Lib.StateEngine exception is a general exception that can be thrown from the
  17. /// state engine library.
  18. /// </summary>
  19. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2237:MarkISerializableTypesWithSerializable")]
  20. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1032:ImplementStandardExceptionConstructors")]
  21. public class StateEngineException : Exception
  22. {
  23. /// <summary>
  24. /// Initializes a new instance of the StateEngineException class.
  25. /// </summary>
  26. public StateEngineException() { }
  27. /// <summary>
  28. /// Initializes a new instance of the StateEngineException class.
  29. /// </summary>
  30. public StateEngineException(string message) : base(message) { }
  31. /// <summary>
  32. /// Initializes a new instance of the StateEngineException class.
  33. /// </summary>
  34. public StateEngineException(string message, Exception inner) : base(message, inner) { }
  35. }
  36. }