Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446/Declarations/Exceptions/InconsistencyException.cs @ 4068

Last change on this file since 4068 was 4068, checked in by swagner, 14 years ago

Sorted usings and removed unused usings in entire solution (#1094)

File size: 1.3 KB
Line 
1using System;
2namespace Netron.Diagramming.Core {
3  /// <summary>
4  /// This exception is rather generic in the sense that it's being used a bit everywhere in the code.
5  /// A more refined division could be constructed but since this is open source it's easy enough to
6  /// pin down the problem and a complex exception handling is not necessary.
7  /// </summary>
8  [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1032:ImplementStandardExceptionConstructors")]
9  [Serializable()]
10  public sealed class InconsistencyException : Exception {
11    /// <summary>
12    /// Initializes a new instance of the <see cref="T:InconsistencyException"/> class.
13    /// </summary>
14    /// <param name="message">The message.</param>
15    public InconsistencyException(string message) : base(message) { }
16
17    /// <summary>
18    /// Initializes a new instance of the <see cref="T:InconsistencyException"/> class.
19    /// </summary>
20    public InconsistencyException() : base() { }
21    /// <summary>
22    /// Initializes a new instance of the <see cref="T:InconsistencyException"/> class.
23    /// </summary>
24    /// <param name="message">The message.</param>
25    /// <param name="e">The e.</param>
26    public InconsistencyException(string message, Exception e) : base(message, e) { }
27  }
28}
Note: See TracBrowser for help on using the repository browser.