ForecourtControlException.cs 1.1 KB

123456789101112131415161718192021222324252627
  1. using System;
  2. namespace Wayne.ForecourtControl
  3. {
  4. /// <summary>
  5. /// The ForecourtControlException is the general exception that will be thrown
  6. /// from the implementations of ForecourtControllerInterface.
  7. /// </summary>
  8. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2237:MarkISerializableTypesWithSerializable")]
  9. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1032:ImplementStandardExceptionConstructors")]
  10. public sealed class ForecourtControlException : Exception
  11. {
  12. /// <summary>
  13. /// Initializes a new instance of the class
  14. /// </summary>
  15. public ForecourtControlException() { }
  16. /// <summary>
  17. /// Initializes a new instance of the class
  18. /// </summary>
  19. public ForecourtControlException(string message) : base(message) { }
  20. /// <summary>
  21. /// Initializes a new instance of the class
  22. /// </summary>
  23. public ForecourtControlException(string message, Exception inner) : base(message, inner) { }
  24. }
  25. }