|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.excalibur.event.command.NullCommandFailureHandler
NullCommandFailureHandler is used to do nothing if a command fails.
Field Summary | |
static NullCommandFailureHandler |
SHARED_INSTANCE
|
Constructor Summary | |
NullCommandFailureHandler()
|
Method Summary | |
boolean |
handleCommandFailure(Command command,
java.lang.Throwable throwable)
Handle a command failure. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final NullCommandFailureHandler SHARED_INSTANCE
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
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 |