| |
|
| java.lang.Object java.util.EventObject javax.naming.event.NamingExceptionEvent
NamingExceptionEvent | public class NamingExceptionEvent extends EventObject (Code) | | An event object contains a NamingException .
|
Constructor Summary | |
public | NamingExceptionEvent(EventContext eventContext, NamingException namingException) Constructs a NamingExceptionEvent instance with a
EventContext and a NamingException .
Parameters: eventContext - context that generated this event. |
NamingExceptionEvent | public NamingExceptionEvent(EventContext eventContext, NamingException namingException)(Code) | | Constructs a NamingExceptionEvent instance with a
EventContext and a NamingException .
Parameters: eventContext - context that generated this event. It is the originator ofthis event and cannot be null. Parameters: namingException - the associated exception and cannot be null. |
dispatch | public void dispatch(NamingListener naminglistener)(Code) | | Calls a method to notify the listener that a naming exception has been
thrown.
Parameters: naminglistener - the listener to be notified |
getEventContext | public EventContext getEventContext()(Code) | | Gets the source of the event.
the source of the event |
getException | public NamingException getException()(Code) | | Gets the associated NamingException .
the associated NamingException |
|
|
|