markus / Rhino.Licensing / RhinoLicensingException.cs @ 42d49521
이력 | 보기 | 이력해설 | 다운로드 (1.49 KB)
1 |
using System; |
---|---|
2 |
using System.Runtime.Serialization; |
3 |
|
4 |
namespace Rhino.Licensing |
5 |
{ |
6 |
/// <summary> |
7 |
/// Base class for all licensing exceptions. |
8 |
/// </summary> |
9 |
[Serializable] |
10 |
public class RhinoLicensingException : Exception |
11 |
{ |
12 |
/// <summary> |
13 |
/// Creates a new instance of <seealso cref="RhinoLicensingException"/>. |
14 |
/// </summary> |
15 |
protected RhinoLicensingException() |
16 |
{ |
17 |
} |
18 |
|
19 |
/// <summary> |
20 |
/// Creates a new instance of <seealso cref="RhinoLicensingException"/>. |
21 |
/// </summary> |
22 |
/// <param name="message">error message</param> |
23 |
protected RhinoLicensingException(string message) |
24 |
: base(message) |
25 |
{ |
26 |
} |
27 |
|
28 |
/// <summary> |
29 |
/// Creates a new instance of <seealso cref="RhinoLicensingException"/>. |
30 |
/// </summary> |
31 |
/// <param name="message">error message</param> |
32 |
/// <param name="inner">inner exception</param> |
33 |
protected RhinoLicensingException(string message, Exception inner) |
34 |
: base(message, inner) |
35 |
{ |
36 |
} |
37 |
|
38 |
/// <summary> |
39 |
/// Creates a new instance of <seealso cref="RhinoLicensingException"/>. |
40 |
/// </summary> |
41 |
/// <param name="info">serialization information</param> |
42 |
/// <param name="context">streaming context</param> |
43 |
protected RhinoLicensingException( |
44 |
SerializationInfo info, |
45 |
StreamingContext context) |
46 |
: base(info, context) |
47 |
{ |
48 |
} |
49 |
} |
50 |
} |