Package org.infinispan.counter.exception
Class CounterOutOfBoundsException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.infinispan.counter.exception.CounterException
-
- org.infinispan.counter.exception.CounterOutOfBoundsException
-
- All Implemented Interfaces:
Serializable
public class CounterOutOfBoundsException extends CounterException
ACounterExceptionsignalling that theStrongCounterhas reached its bounds.- Since:
- 9.0
- Author:
- Pedro Ruivo
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringFORMAT_MESSAGEstatic StringLOWER_BOUNDstatic StringUPPER_BOUND
-
Constructor Summary
Constructors Constructor Description CounterOutOfBoundsException(String message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisLowerBoundReached()booleanisUpperBoundReached()
-
-
-
Field Detail
-
FORMAT_MESSAGE
public static final String FORMAT_MESSAGE
- See Also:
- Constant Field Values
-
UPPER_BOUND
public static final String UPPER_BOUND
- See Also:
- Constant Field Values
-
LOWER_BOUND
public static final String LOWER_BOUND
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CounterOutOfBoundsException
public CounterOutOfBoundsException(String message)
-
-