All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class javax.naming.NameAlreadyBoundException

java.lang.Object
   |
   +----java.lang.Throwable
           |
           +----java.lang.Exception
                   |
                   +----javax.naming.NamingException
                           |
                           +----javax.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.

See Also:
bind, rebind, createSubcontext, bind, rebind, createSubcontext

Constructor Index

 o NameAlreadyBoundException()
Constructs a new instance of NameAlreadyBoundException.
 o NameAlreadyBoundException(String)
Constructs a new instance of NameAlreadyBoundException using the explanation supplied.

Constructors

 o NameAlreadyBoundException
 public NameAlreadyBoundException(String explanation)
Constructs a new instance of NameAlreadyBoundException using the explanation supplied. All other fields default to null.

Parameters:
explanation - Possibly null additional detail about this exception.
See Also:
getMessage
 o NameAlreadyBoundException
 public NameAlreadyBoundException()
Constructs a new instance of NameAlreadyBoundException. All fields are set to null;


All Packages  Class Hierarchy  This Package  Previous  Next  Index