|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.d_haven.event.command.NullCommandFailureHandler
DefaultCommandFailureHandler is used to do nothing if a command fails.
Constructor Summary | |
NullCommandFailureHandler()
|
Method Summary | |
boolean |
handleCommandFailure(Command command,
java.lang.Throwable throwable)
Handle a command failure. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public NullCommandFailureHandler()
Method Detail |
public boolean handleCommandFailure(Command command, java.lang.Throwable throwable)
false
.
handleCommandFailure
in interface CommandFailureHandler
command
- The original Command object that failedthrowable
- The throwable that caused the failure
false
so the CommandManager should continue
to process commands.public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |