public class InvalidLicenseException extends LicenseException
An exception indicating that the wrong type of license was found at runtime.
Modifier | Constructor and Description |
---|---|
protected |
InvalidLicenseException(java.lang.String expectedLicenseType,
java.lang.String providedLicenseType)
Constructs a new InvalidLicenseException appropriate for use in the DeltaXML code.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getExpectedLicenseType()
Reports the expected type or types of license corresponding to the location where licenses were loaded.
|
java.lang.String |
getProvidedLicenseType()
Reports the type of license loaded.
|
protected InvalidLicenseException(java.lang.String expectedLicenseType, java.lang.String providedLicenseType)
expectedLicenseType
- the type of license expectedprovidedLicenseType
- the type of license actually providedpublic java.lang.String getExpectedLicenseType()
public java.lang.String getProvidedLicenseType()
Copyright © 2001-2016 DeltaXML Ltd. All Rights Reserved.