Package com.vaadin.pro.licensechecker
Class MissingLicenseKeyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.vaadin.pro.licensechecker.LicenseException
com.vaadin.pro.licensechecker.MissingLicenseKeyException
- All Implemented Interfaces:
Serializable
Thrown to indicate that a required license key is missing. This exception is
used to inform that the operation cannot be completed due to the absence of a
valid license key.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMissingLicenseKeyException(Product product) Constructs a new MissingLicenseKeyException for the specified product.MissingLicenseKeyException(Product product, String message) Constructs a new MissingLicenseKeyException with a specified detail message and product information.MissingLicenseKeyException(String message) Constructs a new MissingLicenseKeyException with the specified detail message. -
Method Summary
Modifier and TypeMethodDescriptionGets the name of the product associated with this exception.Gets the version of the product associated with this exception.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MissingLicenseKeyException
Constructs a new MissingLicenseKeyException with a specified detail message and product information. This exception denotes that a license key is required but is missing for the providedproduct.- Parameters:
product- the product requiring a license key, which contains the product name and versionmessage- the detail message detailing the exception context, can be null
-
MissingLicenseKeyException
Constructs a new MissingLicenseKeyException for the specified product. This exception denotes that a license key is required but is missing for the providedproduct.- Parameters:
product- the product requiring a license key, which contains the product name and version
-
MissingLicenseKeyException
Constructs a new MissingLicenseKeyException with the specified detail message. This exception denotes that a license key is required but is missing.- Parameters:
message- the detail message providing information about the exception, which can be null
-
-
Method Details
-
getProductName
Gets the name of the product associated with this exception.- Returns:
- the name of the product.
-
getProductVersion
Gets the version of the product associated with this exception.- Returns:
- the product version.
-