|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.avalon.fortress.util.FortressCommandFailureHandler
public class FortressCommandFailureHandler
The default CommandFailureHandler used by Fortress to log any failures encountered while executing commands.
Constructor Summary | |
---|---|
FortressCommandFailureHandler()
|
Method Summary | |
---|---|
boolean |
handleCommandFailure(org.d_haven.event.command.Command command,
java.lang.Throwable throwable)
Handle a command failure. |
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
---|
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FortressCommandFailureHandler()
Method Detail |
---|
public boolean handleCommandFailure(org.d_haven.event.command.Command command, java.lang.Throwable throwable)
handleCommandFailure
in interface org.d_haven.event.command.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 |