griffon.plugins.tasks
[Java] Interface ExceptionHandler
public interface ExceptionHandler
Handler for exceptions that occurred in an event listener.
- Authors:
- Raffael Herzog
RETHROW_EXCEPTION_HANDLER
public ExceptionHandler RETHROW_EXCEPTION_HANDLER
-
handleException
public boolean handleException(Object listener, Throwable exception)
- Handle an exception that occurred in an event listener. The exception may also be
rethrown.
- throws:
- Throwable Rethrowing or converting exceptions.
- Parameters:
listener - The listener that throw the exception.exception - The thrown exception.
- Returns:
true, if the remaining listeners should be notified,
false to cancel.
Groovy Documentation