public class CPUCountException extends LicenseException
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 CPUs DeltaXML is allowed to 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.
getErrorCode() method is provided for compatibility with earlier XML Compare releases; when
called with this exception the result will be: 11
|Constructor and Description|
Constructs a new CPUCountException appropriate for use in the XML Compare code.
|Modifier and Type||Method and Description|
Reports the number of CPUs the currently activated license allows.
Reports the number of CPUs on the current system.
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public CPUCountException(int currentCpuCount, int cpuLimit)
currentCpuCount- The number of CPUs on the current system
cpuLimit- The cpu limit associated with the activated license
public int getCurrentCpuCount()
public int getCpuLimit()
Copyright © 2001-2018 DeltaXML Ltd. All Rights Reserved.