Line | |
---|
1 | using System;
|
---|
2 | namespace 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.