qflib 0.98.1

de.qfs.lib.command
Class UnhandledCommandException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--de.qfs.lib.command.CommandException
                    |
                    +--de.qfs.lib.command.UnhandledCommandException
All Implemented Interfaces:
java.io.Serializable

public class UnhandledCommandException
extends CommandException

This exception is thrown by CommandDistributor.assignCommandSilently, when a Command has been passed through all possible CommandHandlers and is still not handled.

Version:
$Revision: 1.5 $
Author:
Gregor Schmid
See Also:
Serialized Form

Constructor Summary
UnhandledCommandException(Command command)
          Create a new UnhandledCommandException.
 
Method Summary
 Command getCommand()
          Get the command of the UnhandledCommandException.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnhandledCommandException

public UnhandledCommandException(Command command)
Create a new UnhandledCommandException.
Parameters:
command - The Command that could not be handled.
Method Detail

getCommand

public final Command getCommand()
Get the command of the UnhandledCommandException.
Returns:
The command of the UnhandledCommandException.

qflib 0.98.1