public class NodeCapacityExceededException extends LicenseException
The size of the input data exceeds the capacity permitted by the activation license. This exception will report the size required and the licensed capacity.
Note: the getErrorCode()
method is provided for compatibility with earlier XML Compare releases; when
called with this exception the result will be: 7
Constructor and Description |
---|
NodeCapacityExceededException(int licensedCapacity,
int requiredCapacity,
java.lang.String systemId)
Constructs a new NodeCapacityExceededException for use in the XML Compare code.
|
Modifier and Type | Method and Description |
---|---|
int |
getLicensedCapacity()
Reports the capacity allowed for each of the inputs according to the license used to activate the software.
|
int |
getRequiredCapacity()
Reports the capacity (in nodes) needed to load one of the inputs.
|
java.lang.String |
getSystemId()
Reports the systemId corresponding to the comparator/combiner input which exceeded the capacity.
|
getErrorCode, getSeverity
getCause, getThrowable
public NodeCapacityExceededException(int licensedCapacity, int requiredCapacity, java.lang.String systemId)
licensedCapacity
- the node capacity allowed by the license used for activationrequiredCapacity
- the capacity needed to load the inputsystemId
- can be used to identify which of the two inputs caused the failurepublic int getLicensedCapacity()
public int getRequiredCapacity()
public java.lang.String getSystemId()
Copyright © 2001-2018 DeltaXML Ltd. All Rights Reserved.