NamingEvents threw a NamingException.
This can happen, for example, if the server which the listener is using
aborts subsequent to the addNamingListener() call.
NamingListener#namingExceptionThrown, EventContext
| Modifier and Type | Field and Description |
|---|---|
| private NamingException | exception
Contains the exception that was thrown |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | NamingExceptionEvent(EventContext
The non-null context in which the exception was thrown. source, NamingException The non-null exc)NamingException that was thrown.Constructs an instance of |
| Modifier and Type | Method and Description |
|---|---|
| public void | dispatch(NamingListener
The non-null naming listener on which to invoke
the method. listener)Invokes the |
| public EventContext | Returns: The non-nullEventContext that fired this event.Retrieves the |
| public NamingException |
| exception | back to summary |
|---|---|
| private NamingException exception Contains the exception that was thrown | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| NamingExceptionEvent | back to summary |
|---|---|
| public NamingExceptionEvent(EventContext source, NamingException exc) Constructs an instance of
| |
| dispatch | back to summary |
|---|---|
| public void dispatch(NamingListener listener) Invokes the
| |
| getEventContext | back to summary |
|---|---|
| public EventContext getEventContext() Retrieves the
| |
| getException | back to summary |
|---|---|
| public NamingException getException() Retrieves the exception that was thrown.
| |