FuelGradeOutOfRangeException.cs 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. #region --------------- Copyright Dresser Wayne Pignone -------------
  2. /*
  3. * $Log: /Wrk/Support/ForecourtControl/Wrk/ForecourtControl/Exceptions/FuelGradeOutOfRangeException.cs $
  4. *
  5. * 1 07-01-05 9:02 roger.månsson
  6. * Created
  7. */
  8. #endregion
  9. using System;
  10. namespace Wayne.ForecourtControl
  11. {
  12. /// <summary>
  13. /// Exception thrown from the AllowedFuelGrades class when trying to access a fuel grade that
  14. /// does not exist.
  15. /// </summary>
  16. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2237:MarkISerializableTypesWithSerializable")]
  17. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1032:ImplementStandardExceptionConstructors")]
  18. public sealed class FuelGradeOutOfRangeException : Exception
  19. {
  20. /// <summary>
  21. /// Initializes an new instance of the class.
  22. /// </summary>
  23. public FuelGradeOutOfRangeException() { }
  24. /// <summary>
  25. /// Initializes an new instance of the class.
  26. /// </summary>
  27. /// <param name="message"></param>
  28. public FuelGradeOutOfRangeException(string message) : base(message) { }
  29. /// <summary>
  30. /// Initializes an new instance of the class.
  31. /// </summary>
  32. /// <param name="inner"></param>
  33. /// <param name="message"></param>
  34. public FuelGradeOutOfRangeException(string message, Exception inner) : base(message, inner) { }
  35. }
  36. }