com.ibm.dse.base
Class DSECounterException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.ibm.dse.base.DSEException
|
+--com.ibm.dse.base.DSECounterException
- public class DSECounterException
- extends DSEException
The DSECounterException class provides the exceptions that are thrown for the counters.
Five different exceptions can be thrown by the counter:
- - "ValueOverMax" : when trying to set the value of a CounterElement over the Max Limit.
- - "ValueUnderMin" : when trying to set the value of a CounterElement under the Min Limit.
- - "MaxUnderValue" : when trying to set the MaxLimit of a CounterElement under the current value.
- - "MinOverValue" : when trying to set the MinLimit of a CounterElement over the current value.
- - "IncrementDenied" : when trying to set the increment value of a Counter with checkIfRequired to true and increment value not null.
The five exceptions are "harmless" and can be differentiated by the DSECounterException code.
- See Also:
- Serialized Form
Constructor Summary |
DSECounterException(java.lang.String severity,
java.lang.String code,
java.lang.String message)
This constructor creates a DSECounterException object. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace,
getLocalizedMessage,
getMessage,
printStackTrace,
printStackTrace,
printStackTrace,
toString |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
DSECounterException
public DSECounterException(java.lang.String severity,
java.lang.String code,
java.lang.String message)
- This constructor creates a DSECounterException object.