|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jomc.sequences.SequencesException
org.jomc.sequences.SequenceLimitException
@Generated(value="org.jomc.tools.SourceFileProcessor 1.0",
comments="See http://jomc.sourceforge.net/jomc/1.0/jomc-tools")
public class SequenceLimitException
extends SequencesException
Gets thrown whenever the next value of a sequence is requested although its maximum value has already been reached.
Dependencies
Locale"Dependency on'java.util.Locale'(java.util.Locale)at specification level 1.1 bound to an instance.
Messages
sequenceLimitMessage"| English: | The maximum sequence value {0,number} has been reached. No more sequence values available. |
| Deutsch: | Der Maximalwert {0,number} der Sequenz wurde erreicht. Keine weiteren Sequenz-Werte verfügbar. |
| Constructor and Description |
|---|
SequenceLimitException(long currentValue)
Creates a new SequenceLimitException taking the current value of the sequence. |
| Modifier and Type | Method and Description |
|---|---|
long |
getCurrentValue()
Gets the current value of the sequence reaching its limit. |
String |
getMessage()
Gets the message of the exception. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, 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 |
|---|
public SequenceLimitException(long currentValue)
SequenceLimitException taking the current value of the sequence.
currentValue - The current value of the sequence reaching its limit.| Method Detail |
|---|
public long getCurrentValue()
public String getMessage()
getMessage in class Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||