Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the LicenseException class for the type and the instance of the component that was denied a license.
 /// </summary>
 /// <param name="instance">The instance of the component that was not granted a license.</param>
 public ExpiredLicenseException(Object instance)
     : base(instance, ExceptionMessage.Format(Properties.ExceptionMessages.ExpiredLicense, ExpiredLicenseException.GetType(instance)))
 {
 }
 /// <summary>
 /// Initializes a new instance of the LicenseException class for the type and the instance of the component that was denied a license.
 /// </summary>
 /// <param name="instance">The instance of the component that was not granted a license.</param>
 public InvalidLicenseException(Object instance)
     : this(instance, ExceptionMessage.Format(Properties.ExceptionMessages.InvalidLicense, InvalidLicenseException.GetType(instance)))
 {
 }