|
||||||||||
| 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.OdfVersionException
public class OdfVersionException
An exception indicating that the license used to activate the software does not support the version being used.
An activation key or license contains a version number which enables the operation of this and previous versions of the DeltaXML product. The licensed version number is usually in the format: major.minor for example 1.3. A license with this version number will allow operation of this and earlier releases. It will also allow operation of bug fix releases such as 1.3.1, 1.3.2 etc
| Constructor Summary | |
|---|---|
OdfVersionException(String product,
String licensedVersion,
String currentVersion)
Constructs a new OdfVersionException with a default message |
|
OdfVersionException(String message,
String product,
String licensedVersion,
String currentVersion)
Constructs a new OdfVersionException with a configurable message |
|
| Method Summary | |
|---|---|
String |
getCurrentVersion()
Reports the version of the ODF software currently in use. |
String |
getLicensedVersion()
Reports the software version number which the current license supports. |
| 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 OdfVersionException(String product,
String licensedVersion,
String currentVersion)
product - the ODF product for which the license version is unsupportedlicensedVersion - the version specified in the licensecurrentVersion - the version of the software currently in use
public OdfVersionException(String message,
String product,
String licensedVersion,
String currentVersion)
message - the exception messageproduct - the ODF product for which the license version is unsupportedlicensedVersion - the version specified in the licensecurrentVersion - the version of the software currently in use| Method Detail |
|---|
public String getLicensedVersion()
public String getCurrentVersion()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||