
public interface ExceptionEventSource
ExceptionEventSource is implemented by classes firing
ExceptionEvents.
Example: Listening to all jDTAUS Core SPI compliant implementations in the system
ExceptionEventSource source =
(ExceptionEventSource) ContainerFactory.getContainer().
getObject( ExceptionEventSource.class );
source.addExceptionListener(your application's listener);
| Modifier and Type | Method and Description |
|---|---|
void |
addExceptionListener(ExceptionListener listener)
Adds an
ExceptionListener to the listener list. |
ExceptionListener[] |
getExceptionListeners()
Gets all currently registered
ExceptionListeners. |
void |
removeExceptionListener(ExceptionListener listener)
Removes a
ExceptionListener from the listener list. |
void addExceptionListener(ExceptionListener listener)
ExceptionListener to the listener list.listener - The listener to be added to the listener list.NullPointerException - if listener is null.ExceptionListener[] getExceptionListeners()
ExceptionListeners.ExceptionListeners.void removeExceptionListener(ExceptionListener listener)
ExceptionListener from the listener list.listener - The listener to be removed from the listener list.NullPointerException - if listener is null.Copyright © 2005-2012 jDTAUS. All Rights Reserved.