FileDocCategorySizeDatePackage
NameAlreadyBoundException.javaAPI DocJava SE 5 API1583Fri Aug 26 14:57:38 BST 2005javax.naming

NameAlreadyBoundException

public class NameAlreadyBoundException extends NamingException
This exception is thrown by methods to indicate that a binding cannot be added because the name is already bound to another object.

Synchronization and serialization issues that apply to NamingException apply directly here.

author
Rosanna Lee
author
Scott Seligman
version
1.7 03/12/19
see
Context#bind
see
Context#rebind
see
Context#createSubcontext
see
javax.naming.directory.DirContext#bind
see
javax.naming.directory.DirContext#rebind
see
javax.naming.directory.DirContext#createSubcontext
since
1.3

Fields Summary
private static final long
serialVersionUID
Use serialVersionUID from JNDI 1.1.1 for interoperability
Constructors Summary
public NameAlreadyBoundException(String explanation)
Constructs a new instance of NameAlreadyBoundException using the explanation supplied. All other fields default to null.

param
explanation Possibly null additional detail about this exception.
see
java.lang.Throwable#getMessage

	super(explanation);
    
public NameAlreadyBoundException()
Constructs a new instance of NameAlreadyBoundException. All fields are set to null;

	super();
    
Methods Summary