public class NamingExceptionEvent extends EventObject
source| Constructor and Description |
|---|
NamingExceptionEvent(EventContext
Constructs an instance of
NamingExceptionEvent using the context in which the
NamingException was thrown and the exception that was thrown.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dispatch(NamingListener
Invokes the
namingExceptionThrown() method on a listener using this event.
|
EventContext |
getEventContext()
Retrieves the
EventContext that fired this event.
|
NamingException |
getException()
Retrieves the exception that was thrown.
|
getSource, toStringpublic NamingExceptionEvent(EventContextsource, NamingException exc)
source - The non-null context in which the exception was thrown.
exc - The non-null
NamingException that was thrown.
public NamingExceptiongetException()
public EventContextgetEventContext()
public void dispatch(NamingListenerlistener)
listener - The non-null naming listener on which to invoke the method.