|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.deltaxml.odf.OdfException
com.deltaxml.odf.OdfLicensingException
com.deltaxml.odf.InvalidOdfLicenseException
public class InvalidOdfLicenseException
An exception indicating that the wrong type of license was found at runtime. This could be caused by a problem with activation or by a malicious attempt to subvert the licensing mechanism.
For example, when loading licenses from a system-preferences node, a named-user license would not be expected and this exception would be thrown.
| Constructor Summary | |
|---|---|
InvalidOdfLicenseException(String product,
String expected,
String provided)
Deprecated. Constructs a new InvalidOdfLicenseException with a default message. |
|
InvalidOdfLicenseException(String message,
String product,
String expected,
String provided)
Deprecated. Constructs a new InvalidOdfLicenseException with a configurable message. |
|
| Method Summary | |
|---|---|
String |
getExpectedLicenseType()
Deprecated. Reports the expected type of license corresponding to the location from which the license was loaded. |
String |
getProvidedLicenseType()
Deprecated. Reports the type of license loaded. |
| Methods inherited from class com.deltaxml.odf.OdfLicensingException |
|---|
getProduct |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public InvalidOdfLicenseException(String product,
String expected,
String provided)
product - the ODF product for which the invalid license has been foundexpected - the type of license expectedprovided - the type of license actually provided
public InvalidOdfLicenseException(String message,
String product,
String expected,
String provided)
message - the exception messageproduct - the ODF product for which the invalid license has been foundexpected - the type of license expectedprovided - the type of license actually provided| Method Detail |
|---|
public String getExpectedLicenseType()
public String getProvidedLicenseType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||