|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ErrorHandler
MapCommand Managers have error handles registered that are notified when a command throws an exception. Error handlers know what to do with the exception.
An example is a Transaction Error handler which
Method Summary | |
---|---|
void |
handleError(Command command,
java.lang.Throwable e)
Handles an error that occurs during the execution of a command. |
void |
handleRollbackError(UndoableCommand command,
java.lang.Throwable e)
Handles an error that occurs during the rollback of a undoable command. |
Method Detail |
---|
void handleError(Command command, java.lang.Throwable e)
command
- The command which raised the excpetion.e
- the exception raised.MapCommand
,
API allow this to throw an exception?
void handleRollbackError(UndoableCommand command, java.lang.Throwable e)
command
- The command which raised the excpetion.e
- the exception raised.UndoableCommand
,
API allow this to throw an exception?
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |