|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CommandFailureHandler
CommandFailureHandler is used by the CommandManager to handle any exceptions that might be thrown by a Command. That way the application using the CommandManager can properly manage what happens when an exception is thrown.
Method Summary | |
---|---|
boolean |
handleCommandFailure(Command command,
Throwable throwable)
Handle a command failure. |
Method Detail |
---|
boolean handleCommandFailure(Command command, Throwable throwable)
command
- The original Command object that failedthrowable
- The throwable that caused the failure
true
if the CommandManager should cease to process commands.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |