InvalidLicenseKeyException

Type
Class
Namespace
craft\errors
Inherits
craft\errors\InvalidLicenseKeyException » yii\base\Exception » Exception
Since
3.0

InvalidLicenseKeyException represents an exception caused by setting an invalid license key on a plugin.

View source

Public Properties

PropertyDescription
$licenseKeystring, null – The license key

$licenseKey

Type
string, null

The license key

View source

Signature

public string, null $licenseKey = null

Public Methods

MethodDescription
__construct()Constructor.
getName()

__construct()

Constructor.

View source

Arguments

  • $licenseKey (string) – The invalid license key
  • $message (string, null) – The error message
  • $code (integer) – The error code

Signature

public void __construct ( \craft\errors\string $licenseKey, \craft\errors\string $message = null, \craft\errors\int $code = 0 )

getName()

View source

Returns

string – The user-friendly name of this exception

Signature

public string getName ( )