/// <summary>
 /// Initializes a new instance of the LicenseException class for the type and the instance of the component that was denied a license, along with a message
 /// to display.
 /// </summary>
 /// <param name="instance">The instance of the component that was not granted a license.</param>
 /// <param name="message">The exception message to display.</param>
 public InvalidLicenseException(Object instance, String message) : base(InvalidLicenseException.GetType(instance), instance, message)
 {
     // Initialize the object.
     this.instance = 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)))
 {
 }