public class NamingExceptionEvent extends EventObject
source| Constructor and Description |
|---|
NamingExceptionEvent(EventContext source, NamingException exc)
构造一个实例的
NamingExceptionEvent使用语境的
NamingException被抛出和异常被抛出。
|
| 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.