|
Evaluating Software Design Patterns — the "Gang of Four" patterns implemented in Java 6 |
||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use CommandException | |
---|---|
dk.rode.thesis.command | Implementations and examples of the Command design pattern [Gamma95, p.233]. |
Uses of CommandException in dk.rode.thesis.command |
---|
Subclasses of CommandException in dk.rode.thesis.command | |
---|---|
static class |
EvilCommand.EvilCommandException
The exception type thrown during execution and perhaps on undo of the
an evil command. |
Methods in dk.rode.thesis.command that throw CommandException | ||
---|---|---|
protected abstract List<Command<E>> |
SequenceCommand.doExecute(boolean saved)
Performs the actual execution of this command. |
|
List<Command<E>> |
SequenceCommand.execute()
Saves the before state of this sequence command if the receiver sequence is a memorizable
sequence before execution . |
|
List<Command<E>> |
CompositeCommand.execute()
|
|
List<Command<E>> |
Command.execute()
Performs the execution of this command. |
|
|
CommandProcessor.execute(Command<E>... commands)
Executes the commands supplied as
commands , in order, or tries to undo executed commands in case of execution failure. |
|
|
CommandProcessor.execute(List<Command<E>> commands)
Executes the commands supplied as
commands , in order, or tries to undo executed commands in case of execution failure. |
|
private
|
CommandProcessor.execute(List<Command<E>> commands,
List<Command<E>> executedCommands)
Executes the commands supplied as
commands , in order, or tries to undo executed commands in case of execution failure. |
|
E |
SequenceCommand.undo()
Performs undo of this sequence command if possible. |
|
E |
ReverseCommand.undo()
|
|
E |
ResetCommand.undo()
|
|
E |
NextCommand.undo()
|
|
E |
CompositeCommand.undo()
|
|
E |
Command.undo()
Perform undo of this command, if possible. |
|
Gunni Rode / rode.dk | ||||||||
PREV NEXT | FRAMES NO FRAMES |