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 - 调用方法的非空命名侦听器。
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.