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