| net.refractions.udig.project.command.ErrorHandler
All known Subclasses: net.refractions.udig.project.internal.commands.DefaultErrorHandler,
ErrorHandler | public interface ErrorHandler (Code) | | 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
author: jeichar since: 0.3 |
handleError | public void handleError(Command command, Throwable e)(Code) | | Handles an error that occurs during the execution of a command.
Parameters: command - The command which raised the excpetion. Parameters: e - the exception raised. See Also: MapCommand See Also: Throwable See Also: API allow this to throw an exception? |
handleRollbackError | public void handleRollbackError(UndoableCommand command, Throwable e)(Code) | | Handles an error that occurs during the rollback of a undoable command.
Parameters: command - The command which raised the excpetion. Parameters: e - the exception raised. See Also: UndoableCommand See Also: Throwable See Also: API allow this to throw an exception? |
|
|