|
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
dk.rode.thesis.command.CommandException
public class CommandException
A command exception may be explicitly raised in case
the execution or undoing of a command fails.
| Field Summary | |
|---|---|
(package private) static long |
serialVersionUID
Serial version id. |
| Constructor Summary | |
|---|---|
CommandException()
No-arg constructor. |
|
CommandException(Command<?> command)
Constructor. |
|
CommandException(String message)
Constructor. |
|
CommandException(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 CommandException()
public CommandException(Command<?> command)
command - The faulting command; cannot be null.
NullPointerException - If command is null.public CommandException(String message)
message - The detail message; can be null.public CommandException(Throwable cause)
cause - The causing throwable; can be null.
|
Gunni Rode / rode.dk | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||