| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- //
- // System.ComponentModel.LicenseException.cs
- //
- // Authors:
- // Martin Willemoes Hansen ([email protected])
- // Andreas Nahr ([email protected])
- //
- // (C) 2003 Martin Willemoes Hansen
- // (C) 2003 Andreas Nahr
- //
- namespace System.ComponentModel
- {
- public class LicenseException : SystemException
- {
- private Type type;
- public LicenseException (Type type)
- : this (type, null)
- {
- }
-
- public LicenseException (Type type, object instance)
- {
- // LAMESPEC what should we do with instance?
- this.type = type;
- }
-
- public LicenseException (Type type, object instance,
- string message)
- : this (type, instance, message, null)
- {
- }
-
- public LicenseException (Type type, object instance,
- string message,
- Exception innerException)
- : base (message, innerException)
- {
- // LAMESPEC what should we do with instance?
- this.type = type;
- }
-
- public Type LicensedType {
- get { return type; }
- }
- }
- }
|