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

Class EvilCommand.EvilCommandException

  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by dk.rode.thesis.command.CommandException
              extended by dk.rode.thesis.command.EvilCommand.EvilCommandException
All Implemented Interfaces:
Enclosing class:

public static final class EvilCommand.EvilCommandException
extends CommandException

The exception type thrown during execution and perhaps on undo of the an evil command.

Implementation notes:
This exception type applies the Singleton pattern in its design.

Gunni Rode / rode.dk
See Also:
Serialized Form

Field Summary
(package private) static long serialVersionUID
          Serial version id.
Constructor Summary
private EvilCommand.EvilCommandException()
          Private 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
Serial version id.

See Also:
Constant Field Values
Constructor Detail


private EvilCommand.EvilCommandException()
Private constructor.

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.