|
||||||||||
| 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.OdfLicenseCpuLimitException
public class OdfLicenseCpuLimitException
An exception indicating that the license used to activate the software does not support the number of CPUs being used.
An activation key or license contains a cpu limit which
specifies the maximum number of CPUs on which the software will run.
The definition of a CPU is whatever is returned by the
Runtime.availableProcessors() method; which
typically counts 'cores' in multi-core systems. This checking
and therefore this exception is typically turned-off in
DeltaXML Enterprise licenses. Please see our licensing
Q&A for a discussion of disabling CPUs and virtualization.
| Constructor Summary | |
|---|---|
OdfLicenseCpuLimitException(String product,
int currentCpuCount,
int cpuLimit)
Constructs a new OdfLicenseContentException with a default message |
|
OdfLicenseCpuLimitException(String message,
String product,
int currentCpuCount,
int cpuLimit)
Constructs a new OdfLicenseContentException with a configurable message |
|
| Method Summary | |
|---|---|
int |
getCpuLimit()
Reports the number of CPUs the currently activated license allows. |
int |
getCurrentCpuCount()
Reports the number of CPUs on the current system |
| 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 OdfLicenseCpuLimitException(String product,
int currentCpuCount,
int cpuLimit)
product - the ODF product for which the license CPU count has been exceeded.currentCpuCount - the number of CPUs available on the systemcpuLimit - the maximum number of CPUs specified in the license
public OdfLicenseCpuLimitException(String message,
String product,
int currentCpuCount,
int cpuLimit)
message - the exception messageproduct - the ODF product for which the license CPU count has been exceeded.currentCpuCount - the number of CPUs available on the systemcpuLimit - the maximum number of CPUs specified in the license| Method Detail |
|---|
public int getCurrentCpuCount()
public int getCpuLimit()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||