|
Evaluating Software Design Patterns — the "Gang of Four" patterns implemented in Java 6 |
||||||||
| 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
dk.rode.thesis.templatemethod.SequenceValueException
public class SequenceValueException
A sequence value exception is thrown by a
sequence template in case of value
related errors, such as initialisation error, a
next value cannot be delivered, or
if the sequence is closed.
Implementation notes:
This exception type is declared as a runtime exception to maintain
the semantics of the Sequence interface, e.g. sequence methods
such as Sequence.next() cannot throw checked exceptions.
| Field Summary | |
|---|---|
(package private) static long |
serialVersionUID
Serial version id. |
| Constructor Summary | |
|---|---|
SequenceValueException()
No-arg constructor. |
|
SequenceValueException(String message)
Constructor. |
|
SequenceValueException(String message,
Throwable cause)
Constructor. |
|
SequenceValueException(Throwable cause)
Constructor. |
|
| Method Summary |
|---|
| 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 |
| Field Detail |
|---|
static final long serialVersionUID
| Constructor Detail |
|---|
public SequenceValueException()
public SequenceValueException(String message)
message - The detail message; can be null.
public SequenceValueException(String message,
Throwable cause)
message - The detail message; can be null.cause - The cause of this exception; can be null.public SequenceValueException(Throwable cause)
cause - The cause of this exception; can be null.
|
Gunni Rode / rode.dk | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||