Serializablepublic class NameAlreadyBoundException extends NamingException
Synchronization and serialization issues that apply to NamingException apply directly here.
Context.bind(javax.naming.Name, java.lang.Object),
Context.rebind(javax.naming.Name, java.lang.Object),
Context.createSubcontext(javax.naming.Name),
DirContext.bind(javax.naming.Name, java.lang.Object, javax.naming.directory.Attributes),
DirContext.rebind(javax.naming.Name, java.lang.Object, javax.naming.directory.Attributes),
DirContext.createSubcontext(javax.naming.Name, javax.naming.directory.Attributes),
Serialized FormremainingName, resolvedName, resolvedObj, rootException| Constructor | Description |
|---|---|
NameAlreadyBoundException() |
Constructs a new instance of NameAlreadyBoundException.
|
NameAlreadyBoundException(String explanation) |
Constructs a new instance of NameAlreadyBoundException using the
explanation supplied.
|
appendRemainingComponent, appendRemainingName, getCause, getExplanation, getRemainingName, getResolvedName, getResolvedObj, getRootCause, initCause, setRemainingName, setResolvedName, setResolvedObj, setRootCause, toString, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic NameAlreadyBoundException(String explanation)
explanation - Possibly null additional detail about this exception.Throwable.getMessage()public NameAlreadyBoundException()
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, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Debian+0-9b153-2