APIdia Launch Partner
Top Description Fields Constructors Methods
javax.naming

public Class NameAlreadyBoundException

extends NamingException
Class Inheritance

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.

Authors
Rosanna Lee, Scott Seligman
Since
1.3
See Also
Context#bind, Context#rebind, Context#createSubcontext, javax.naming.directory.DirContext#bind, javax.naming.directory.DirContext#rebind, javax.naming.directory.DirContext#createSubcontext

Field Summary

Modifier and TypeField and Description
private static final long
serialVersionUID

Hides javax.naming.NamingException.serialVersionUID.

Use serialVersionUID from JNDI 1.1.1 for interoperability
Inherited from javax.naming.NamingException:
remainingNameresolvedNameresolvedObjrootException

Constructor Summary

AccessConstructor and Description
public
NameAlreadyBoundException(String
Possibly null additional detail about this exception.
explanation
)

Constructs a new instance of NameAlreadyBoundException using the explanation supplied.

public
NameAlreadyBoundException()

Constructs a new instance of NameAlreadyBoundException.

Method Summary

Inherited from javax.naming.NamingException:
appendRemainingComponentappendRemainingNamegetCausegetExplanationgetRemainingNamegetResolvedNamegetResolvedObjgetRootCauseinitCausesetRemainingNamesetResolvedNamesetResolvedObjsetRootCausetoStringtoString

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides javax.naming.NamingException.serialVersionUID.

Use serialVersionUID from JNDI 1.1.1 for interoperability

Constructor Detail

NameAlreadyBoundExceptionback to summary
public NameAlreadyBoundException(String explanation)

Constructs a new instance of NameAlreadyBoundException using the explanation supplied. All other fields default to null.

Parameters
explanation:String

Possibly null additional detail about this exception.

See Also
java.lang.Throwable#getMessage
NameAlreadyBoundExceptionback to summary
public NameAlreadyBoundException()

Constructs a new instance of NameAlreadyBoundException. All fields are set to null;