|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnl.toolforge.karma.core.cmd.event.CommandResponseEvent
nl.toolforge.karma.core.cmd.event.ExceptionEvent
nl.toolforge.karma.core.cmd.event.CommandFailedEvent
Generated when the command execution failed with a CommandException. This event is - by default -
generated when the CommandContext.execute(Command)-method caught a
CommandException.
| Field Summary |
| Fields inherited from interface nl.toolforge.karma.core.cmd.event.Event |
LEVEL_DEBUG, LEVEL_INFO, LEVEL_VERBOSE |
| Constructor Summary | |
CommandFailedEvent(Command command,
CommandException exception)
Creates the event for command. |
|
| Method Summary | |
Message |
getEventMessage()
Returns a SimpleMessage formatted as [ <command-name> ] Started.. |
| Methods inherited from class nl.toolforge.karma.core.cmd.event.ExceptionEvent |
getCause |
| Methods inherited from class nl.toolforge.karma.core.cmd.event.CommandResponseEvent |
getCommand, getPriority |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CommandFailedEvent(Command command,
CommandException exception)
command.
command - The command that has started.| Method Detail |
public Message getEventMessage()
[ <command-name> ] Started..
getEventMessage in class ExceptionEvent
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||