public class NamingExceptionEvent extends EventObject
source| Constructor and Description |
|---|
NamingExceptionEvent(EventContext source, NamingException exc)
构造使用其中
NamingException抛出的上下文和抛出的异常的的
NamingExceptionEvent实例。
|
| Modifier and Type | Method and Description |
|---|---|
void |
dispatch(NamingListener listener)
使用此事件在侦听器上调用
namingExceptionThrown()方法。
|
EventContext |
getEventContext()
检索
EventContext它触发了这个事件。
|
NamingException |
getException()
检索抛出的异常。
|
getSource, toStringpublic NamingExceptionEvent(EventContext source, NamingException exc)
source - 抛出异常的非空上下文。
exc - 抛出的非空值
NamingException 。
public NamingException getException()
public EventContext getEventContext()
public void dispatch(NamingListener listener)
listener - 调用方法的非空命名侦听器。