handleCommandFailure
public boolean handleCommandFailure(Command command,
java.lang.Throwable throwable)
Handle a command failure. If a command throws an exception, it
has failed. The DefaultCommandManager will call this method so
that we can handle the problem effectively. This implementation
prints the problem to System.err and always returns
false.
- Specified by:
handleCommandFailure in interface CommandFailureHandler
- Parameters:
command - The original Command object that failedthrowable - The throwable that caused the failure
- Returns:
false so the CommandManager should continue
to process commands.