Evaluating Software Design Patterns
— the "Gang of Four" patterns implemented in Java 6

Uses of Class
dk.rode.thesis.command.CommandException

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.
<E> CommandProcessingResult<E>
CommandProcessor.execute(Command<E>... commands)
          Executes the commands supplied as commands, in order, or tries to undo executed commands in case of execution failure.
<E> CommandProcessingResult<E>
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
<E> boolean
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

Feel free to use and/or modify the Java 6 source code developed for this thesis AT YOUR OWN RISK, but note that the source code comes WITHOUT ANY — and I do mean WITHOUT ANY — form of warranty WHAT SO EVER!

The original thesis and source code are available at rode.dk/thesis.