1234567891011121314151617181920212223242526272829303132333435363738 |
- #region --------------- Copyright Dresser Wayne Pignone -------------
- /*
- * $Log: /Wrk/Support/ForecourtControl/Wrk/ForecourtControl/Exceptions/FuelGradeOutOfRangeException.cs $
- *
- * 1 07-01-05 9:02 roger.månsson
- * Created
- */
- #endregion
- using System;
- namespace Wayne.ForecourtControl
- {
- /// <summary>
- /// Exception thrown from the AllowedFuelGrades class when trying to access a fuel grade that
- /// does not exist.
- /// </summary>
- [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2237:MarkISerializableTypesWithSerializable")]
- [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1032:ImplementStandardExceptionConstructors")]
- public sealed class FuelGradeOutOfRangeException : Exception
- {
- /// <summary>
- /// Initializes an new instance of the class.
- /// </summary>
- public FuelGradeOutOfRangeException() { }
- /// <summary>
- /// Initializes an new instance of the class.
- /// </summary>
- /// <param name="message"></param>
- public FuelGradeOutOfRangeException(string message) : base(message) { }
- /// <summary>
- /// Initializes an new instance of the class.
- /// </summary>
- /// <param name="inner"></param>
- /// <param name="message"></param>
- public FuelGradeOutOfRangeException(string message, Exception inner) : base(message, inner) { }
- }
- }
|