markus / Rhino.Licensing / LicenseExpiredException.cs @ 01f4709a
이력 | 보기 | 이력해설 | 다운로드 (1.43 KB)
1 |
using System; |
---|---|
2 |
using System.Runtime.Serialization; |
3 |
|
4 |
namespace Rhino.Licensing |
5 |
{ |
6 |
///<summary> |
7 |
/// Thrown when license is found but is past it's expiration date |
8 |
///</summary> |
9 |
public class LicenseExpiredException : RhinoLicensingException |
10 |
{ |
11 |
/// <summary> |
12 |
/// Creates a new instance of <seealso cref="RhinoLicensingException"/>. |
13 |
/// </summary> |
14 |
public LicenseExpiredException() |
15 |
{ |
16 |
} |
17 |
|
18 |
/// <summary> |
19 |
/// Creates a new instance of <seealso cref="RhinoLicensingException"/>. |
20 |
/// </summary> |
21 |
/// <param name="message">error message</param> |
22 |
public LicenseExpiredException(string message) : base(message) |
23 |
{ |
24 |
} |
25 |
|
26 |
/// <summary> |
27 |
/// Creates a new instance of <seealso cref="RhinoLicensingException"/>. |
28 |
/// </summary> |
29 |
/// <param name="message">error message</param> |
30 |
/// <param name="inner">inner exception</param> |
31 |
public LicenseExpiredException(string message, Exception inner) : base(message, inner) |
32 |
{ |
33 |
} |
34 |
|
35 |
/// <summary> |
36 |
/// Creates a new instance of <seealso cref="RhinoLicensingException"/>. |
37 |
/// </summary> |
38 |
/// <param name="info">serialization information</param> |
39 |
/// <param name="context">streaming context</param> |
40 |
public LicenseExpiredException(SerializationInfo info, StreamingContext context) : base(info, context) |
41 |
{ |
42 |
} |
43 |
} |
44 |
} |