public 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 Form
remainingName, resolvedName, resolvedObj, rootException| Constructor and Description |
|---|
NameAlreadyBoundException()
Constructs a new instance of NameAlreadyBoundException.
|
NameAlreadyBoundException(String
Constructs a new instance of NameAlreadyBoundException using the explanation supplied.
|
appendRemainingComponent, appendRemainingName, getCause, getExplanation, getRemainingName, getResolvedName, getResolvedObj, getRootCause, initCause, setRemainingName, setResolvedName, setResolvedObj, setRootCause, toString, toStringaddSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic NameAlreadyBoundException(Stringexplanation)
explanation - Possibly null additional detail about this exception.
Throwable.getMessage()
public NameAlreadyBoundException()