Uses of Class
javax.naming.NamingException
Packages that use NamingException
Package
Description
Provides the classes and interfaces for accessing naming services.
Extends the
javax.naming
package to provide functionality
for accessing directory services.Provides support for event notification when accessing naming and
directory services.
Provides support for LDAPv3 extended operations and controls.
Provides the means for dynamically plugging in support for accessing
naming and directory services through the
javax.naming
and related packages.-
Uses of NamingException in javax.naming
Subclasses of NamingException in javax.namingModifier and TypeClassDescriptionclass
This exception is thrown when an authentication error occurs while accessing the naming or directory service.class
This exception is thrown when the particular flavor of authentication requested is not supported.class
This exception is thrown to indicate that the operation reached a point in the name where the operation cannot proceed any further.class
This exception is thrown when the client is unable to communicate with the directory or naming service.class
This exception is thrown when there is a configuration problem.class
This exception is thrown when attempting to destroy a context that is not empty.class
This exception is thrown when resources are not available to complete the requested operation.class
This exception is thrown when the naming operation being invoked has been interrupted.class
This exception indicates that the name being specified does not conform to the naming syntax of a naming system.class
This exception is thrown when a method terminates abnormally due to a user or system specified limit.class
This exception is used to describe problems encountered while resolving links.class
This exception is thrown when a loop was detected while attempting to resolve a link, or an implementation specific limit on link counts has been reached.class
This exception is thrown when a malformed link was encountered while resolving or constructing a link.class
This exception is thrown by methods to indicate that a binding cannot be added because the name is already bound to another object.class
This exception is thrown when a component of the name cannot be resolved because it is not bound.class
This is the superclass of security-related exceptions thrown by operations in the Context and DirContext interfaces.class
This exception is thrown when no initial context implementation can be created.class
This exception is thrown when attempting to perform an operation for which the client has no permission.class
This exception is thrown when a naming operation proceeds to a point where a context is required to continue the operation, but the resolved object is not a context.class
This exception is thrown when a context implementation does not support the operation being invoked.class
This exception is thrown to indicate that the result being returned or returned so far is partial, and that the operation cannot be completed.class
This abstract class is used to represent a referral exception, which is generated in response to a referral such as that returned by LDAP v3 servers.class
This exception is thrown when attempting to communicate with a directory or naming service and that service is not available.class
This exception is thrown when a method produces a result that exceeds a size-related limit.class
This exception is thrown when a method does not terminate within the specified time limit.Methods in javax.naming that throw NamingExceptionModifier and TypeMethodDescriptionContext.addToEnvironment(String propName, Object propVal)
Adds a new environment property to the environment of this context.InitialContext.addToEnvironment(String propName, Object propVal)
void
Binds a name to an object.void
Binds a name to an object.void
void
void
Context.close()
Closes this context.void
InitialContext.close()
void
NamingEnumeration.close()
Closes this enumeration.Context.composeName(String name, String prefix)
Composes the name of this context with a name relative to this context.Context.composeName(Name name, Name prefix)
Composes the name of this context with a name relative to this context.InitialContext.composeName(String name, String prefix)
Composes the name of this context with a name relative to this context.InitialContext.composeName(Name name, Name prefix)
Composes the name of this context with a name relative to this context.Context.createSubcontext(String name)
Creates and binds a new context.Context.createSubcontext(Name name)
Creates and binds a new context.InitialContext.createSubcontext(String name)
InitialContext.createSubcontext(Name name)
void
Context.destroySubcontext(String name)
Destroys the named context and removes it from the namespace.void
Context.destroySubcontext(Name name)
Destroys the named context and removes it from the namespace.void
InitialContext.destroySubcontext(String name)
void
InitialContext.destroySubcontext(Name name)
static <T> T
A static method to retrieve the named object.static <T> T
A static method to retrieve the named object.protected Context
InitialContext.getDefaultInitCtx()
Retrieves the initial context by callingNamingManager.getInitialContext()
and cache it in defaultInitCtx.Hashtable<?,?>
Context.getEnvironment()
Retrieves the environment in effect for this context.Hashtable<?,?>
InitialContext.getEnvironment()
LinkRef.getLinkName()
Retrieves the name of this link.Context.getNameInNamespace()
Retrieves the full name of this context within its own namespace.InitialContext.getNameInNamespace()
Context.getNameParser(String name)
Retrieves the parser associated with the named context.Context.getNameParser(Name name)
Retrieves the parser associated with the named context.InitialContext.getNameParser(String name)
InitialContext.getNameParser(Name name)
Referenceable.getReference()
Retrieves the Reference of this object.abstract Context
ReferralException.getReferralContext()
Retrieves the context at which to continue the method.abstract Context
ReferralException.