public class NotContextException extends NamingException
这也是当上下文特定的亚型是必需的,如对像中,和解决的对象是一个上下文而不是所需的亚型。
同步和序列化的问题,适用于namingexception直接应用在这里。
Context.destroySubcontext(javax.naming.Name)
,
Serialized Form
remainingName, resolvedName, resolvedObj, rootException
Constructor and Description |
---|
NotContextException()
构建一个新的实例notcontextexception。
|
NotContextException(String explanation)
构建了一个新的实例notcontextexception使用说明。
|
appendRemainingComponent, appendRemainingName, getCause, getExplanation, getRemainingName, getResolvedName, getResolvedObj, getRootCause, initCause, setRemainingName, setResolvedName, setResolvedObj, setRootCause, toString, toString
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public NotContextException(String explanation)
explanation
可能空更多详细介绍这种例外。
Throwable.getMessage()
public NotContextException()
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.