IBM Branch Transformation Toolkit Javadoc

com.ibm.dse.base
Class DSECounterException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.ibm.dse.base.DSEException
              extended bycom.ibm.dse.base.DSECounterException
All Implemented Interfaces:
java.io.Serializable

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

Field Summary
 
Fields inherited from class com.ibm.dse.base.DSEException
critical, harmless
 
Fields inherited from class java.lang.Exception
 
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 com.ibm.dse.base.DSEException
getClassName, getCode, getMethodName, getSeverity, setClassName, setCode, setMethodName, setSeverity
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DSECounterException

public DSECounterException(java.lang.String severity,
                           java.lang.String code,
                           java.lang.String message)
This constructor creates a DSECounterException object.


IBM Branch Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2005