public interface ExceptionHandler extends ExceptionEventSource
jDTAUS Core SPI ExceptionHandler
specification to be used by
implementations to handle exceptions.
Modifier and Type | Method and Description |
---|---|
ExceptionEvent[] |
getExceptionEvents()
Deprecated.
Starting with version 1.8, the
ExceptionListener s
provided to a system should be used to gather information about handled
exceptions. |
void |
handle(Throwable t)
Handles a given exception.
|
addExceptionListener, getExceptionListeners, removeExceptionListener
ExceptionEvent[] getExceptionEvents()
ExceptionListener
s
provided to a system should be used to gather information about handled
exceptions.ExceptionEvent
s handled by the handler.ExceptionEvent
s handled by the handler.void handle(Throwable t)
t
- the Throwable
that was caught.NullPointerException
- if t
is null
.Copyright © 2005-2012 jDTAUS. All Rights Reserved.