StateEngineException.cs 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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. namespace Wayne.Lib.StateEngine
  12. {
  13. /// <summary>
  14. /// Wayne.Lib.StateEngine exception is a general exception that can be thrown from the
  15. /// state engine library.
  16. /// </summary>
  17. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2237:MarkISerializableTypesWithSerializable")]
  18. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1032:ImplementStandardExceptionConstructors")]
  19. public class StateEngineException : Exception
  20. {
  21. /// <summary>
  22. /// Initializes a new instance of the StateEngineException class.
  23. /// </summary>
  24. public StateEngineException() { }
  25. /// <summary>
  26. /// Initializes a new instance of the StateEngineException class.
  27. /// </summary>
  28. public StateEngineException(string message) : base(message) { }
  29. /// <summary>
  30. /// Initializes a new instance of the StateEngineException class.
  31. /// </summary>
  32. public StateEngineException(string message, Exception inner) : base(message, inner) { }
  33. }
  34. }