JNDI 1.1.1

Uses of Class
javax.naming.NamingException

Packages that use NamingException
javax.naming Contains classes and interfaces for accessing naming services. 
javax.naming.directory Extends the core javax.naming package to provide functionality for accessing directories in addition to naming services. 
javax.naming.spi Contains the classes and interfaces that allow various naming and directory service providers to be dynamically plugged in beneath the JNDI API
 

Uses of NamingException in javax.naming
 

Subclasses of NamingException in javax.naming
 interface AuthenticationException
          This exception is thrown when an authentication error occurs while accessing the naming or directory service.
 interface AuthenticationNotSupportedException
          This exception is thrown when the particular flavor of authentication requested is not supported.
 interface CannotProceedException
          This exception is thrown to indicate that the operation reached a point in the name where the operation cannot proceed any further.
 interface CommunicationException
          This exception is thrown when the client is unable to communicate with the directory or naming service.
 interface ConfigurationException
          This exception is thrown when there is a configuration problem.
 interface ContextNotEmptyException
          This exception is thrown when attempting to destroy a context that is not empty.
 interface InsufficientResourcesException
          This exception is thrown when resources are not available to complete the requested operation.
 interface InterruptedNamingException
          This exception is thrown when the naming operation being invoked has been interrupted.
 interface InvalidNameException
          This exception indicates that the name being specified does not conform to the naming syntax of a naming system.
 interface LimitExceededException
          This exception is thrown when a method terminates abnormally due to a user or system specified limit.
 interface LinkException
          This exception is used to describe problems encounter while resolving links.
 interface LinkLoopException
          This exception is thrown when a loop was detected will attempting to resolve a link, or an implementation specific limit on link counts has been reached.
 interface MalformedLinkException
          This exception is thrown when a malformed link was encountered while resolving or constructing a link.
 interface NameAlreadyBoundException
          This exception is thrown by methods to indicate that a binding cannot be added because the name is already bound to another object.
 interface NameNotFoundException
          This exception is thrown when a component of the name cannot be resolved because it is not bound.
 interface NamingSecurityException
          This is the superclass of security-related exceptions thrown by operations in the Context and DirContext interfaces.
 interface NoInitialContextException
          This exception is thrown when no initial context implementation can be created.
 interface NoPermissionException
          This exception is thrown when attempting to perform an operation for which the client has no permission.
 interface NotContextException
          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.
 interface OperationNotSupportedException
          This exception is thrown when a context implementation does not support the operation being invoked.
 interface PartialResultException
          This exception is thrown to indicate that the result being returned or returned so far is partial, and that the operation cannot be completed.
 interface ReferralException
          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.
 interface ServiceUnavailableException
          This exception is thrown when attempting to communcate with a directory or naming service and that service is not available.
 interface SizeLimitExceededException
          This exception is thrown when a method produces a result that exceeds a size-related limit.
 interface TimeLimitExceededException
          This exception is thrown when a method does not terminate within the specified time limit.
 

Methods in javax.naming that throw NamingException
protected  Context InitialContext.getDefaultInitCtx()
          Retrieves the initial context by calling NamingManager.getInitialContext() and cache it in defaultInitCtx.
protected  Context InitialContext.getURLOrDefaultInitCtx(java.lang.String name)
          Retrieves a context for resolving the string name name.
protected  Context InitialContext.getURLOrDefaultInitCtx(Name name)
          Retrieves a context for resolving name.
 java.lang.Object InitialContext.lookup(java.lang.String name)
          Retrieves the object bound to name resolved relative to the initial context.
 java.lang.Object InitialContext.lookup(Name name)
          Retrieves the object bound to name resolved relative to the initial context.
 void InitialContext.bind(java.lang.String name, java.lang.Object obj)
          Binds the string name 'name' to the object 'obj'.
 void InitialContext.bind(Name name, java.lang.Object obj)
          Binds 'name' to the object 'obj'.
 void InitialContext.rebind(java.lang.String name, java.lang.Object obj)
          Binds the string name 'name' to the object 'obj', overwrite any existing binding.
 void InitialContext.rebind(Name name, java.lang.Object obj)
          Binds 'name' to the object 'obj', overwrite any existing binding.
 void InitialContext.unbind(java.lang.String name)
          Unbinds 'name' resolved relative to this initial context.
 void InitialContext.unbind(Name name)
          Unbinds 'name' resolved relative to this initial context.
 void InitialContext.rename(java.lang.String oldName, java.lang.String newName)
          Binds 'newName' to the object bound to 'oldName', and unbinds 'oldName'.
 void InitialContext.rename(Name oldName, Name newName)
          Binds 'newName' to the object bound to 'oldName', and unbinds 'oldName'.
 NamingEnumeration InitialContext.list(java.lang.String name)
          Enumerates the names and the class names of their bound objects in the context named relative to this initial context.
 NamingEnumeration InitialContext.list(Name name)
          Enumerates the names and the class names of their bound objects in the context named relative to this initial context.
 NamingEnumeration InitialContext.listBindings(java.lang.String name)
          Enumerates the names and their bound objects in the context named relative to this initial context.
 NamingEnumeration InitialContext.listBindings(Name name)
          Enumerates the names and their bound objects in the context named relative to this initial context.
 void InitialContext.destroySubcontext(java.lang.String name)
          Destroys the named context and removes it from the namespace.
 void InitialContext.destroySubcontext(Name name)
          Destroys the named context and removes it from the namespace.
 Context InitialContext.createSubcontext(java.lang.String name)
          Creates and binds a new context.
 Context InitialContext.createSubcontext(Name name)
          Creates and binds a new context.
 java.lang.Object InitialContext.lookupLink(java.lang.String name)
          Retrieve the object named relative to this initial context, following links except for the terminal atomic component of name.
 java.lang.Object InitialContext.lookupLink(Name name)
          Retrieve the object named relative to this initial context, following links except for the terminal atomic component of name.
 NameParser InitialContext.getNameParser(java.lang.String name)
          Retrieves the parser associated with the named context.
 NameParser InitialContext.getNameParser(Name name)
          Retrieves the parser associated with the named context.
 java.lang.String InitialContext.composeName(java.lang.String name, java.lang.String prefix)
          Composes the name of this context with a name relative to this context.
 Name InitialContext.composeName(Name name, Name prefix)
          Composes the name of this context with a name relative to this context.
 java.lang.Object InitialContext.addToEnvironment(java.lang.String propName, java.lang.Object propVal)
          Adds a new environment property to the environment of this context.
 java.lang.Object InitialContext.removeFromEnvironment(java.lang.String propName)
          Removes an environment property from the environment of this context.
 java.util.Hashtable InitialContext.getEnvironment()
          Retrieves the environment in effect for the initial context.
 void InitialContext.close()
          Closes this initial context.
 java.lang.Object Context.lookup(Name name)
          Retrieves the named object.
 java.lang.Object Context.lookup(java.lang.String name)
          Retrieves the named object using its string name.
 void Context.bind(Name name, java.lang.Object obj)
          Binds 'name' to the object 'obj'.
 void Context.bind(java.lang.String name, java.lang.Object obj)
          Binds 'name' to the object 'obj' using its string name.
 void Context.rebind(Name name, java.lang.Object obj)
          Binds 'name' to the object 'obj', overwriting any existing binding.
 void Context.rebind(java.lang.String name, java.lang.Object obj)
          Binds 'name' to the object 'obj' using its string name, overwriting any existing binding.
 void Context.unbind(Name name)
          Unbinds the named object from the namespace using its string name.
 void Context.unbind(java.lang.String name)
          Unbinds the named object from the namespace using its string name.
 void Context.rename(Name oldName, Name newName)
          Binds 'newName' to the object bound to 'oldName', and unbinds 'oldName'.
 void Context.rename(java.lang.String oldName, java.lang.String newName)
          Binds 'newName' to the object bound to 'oldName', and unbinds 'oldName' using string names.
 NamingEnumeration Context.list(Name name)
          Enumerates the names and the class names of their bound objects in the named context.
 NamingEnumeration Context.list(java.lang.String name)
          Enumerates the names and the class names of their bound objects in the (string-) named context.
 NamingEnumeration Context.listBindings(Name name)
          Enumerates the names and their bound objects in the named context.
 NamingEnumeration Context.listBindings(java.lang.String name)
          Enumerates the names and their bound objects in the (string-) named context.
 void Context.destroySubcontext(Name name)
          Destroys the named context and removes it from the namespace.
 void Context.destroySubcontext(java.lang.String name)
          Destroys the (string-) named context and removes it from the namespace.
 Context Context.createSubcontext(Name name)
          Creates and binds a new context.
 Context Context.createSubcontext(java.lang.String name)
          Creates and binds a new context using a string name.
 java.lang.Object Context.lookupLink(Name name)
          Retrieves the named object, following links except for the terminal atomic component of name.
 java.lang.Object Context.lookupLink(java.lang.String name)
          Retrieves the (string-) named object, following links except for the terminal atomic component of name.
 NameParser Context.getNameParser(Name name)
          Retrieves the parser associated with the named context.
 NameParser Context.getNameParser(java.lang.String name)
          Retrieves the parser associated with the (string-) named context.
 Name Context.composeName(Name name, Name prefix)
          Composes the name of this context with a name relative to this context.
 java.lang.String Context.composeName(java.lang.String name, java.lang.String prefix)
          Composes the string name of this context with a string name relative to this context.
 java.lang.Object Context.addToEnvironment(java.lang.String propName, java.lang.Object propVal)
          Adds a new environment property to the environment of this context.
 java.lang.Object Context.removeFromEnvironment(java.lang.String propName)
          Removes an environment property from the environment of this context.
 java.util.Hashtable Context.getEnvironment()
          Retrieves the environment in effect for this context.
 void Context.close()
          Closes this context.
 java.lang.Object NamingEnumeration.next()
          Retrieves the next element in the enumeration.
 boolean NamingEnumeration.hasMore()
          Determines whether there are any more elements in the enumeration.
 Name NameParser.parse(java.lang.String name)
          Parses a name into its components.
 java.lang.String LinkRef.getLinkName()
          Retrieves the name of this link.
 Reference Referenceable.getReference()
          Retrieves the Reference of this object.
abstract  Context ReferralException.getReferralContext()
          Retrieves the context at which to continue the method.
 

Constructors in javax.naming that throw NamingException
InitialContext.InitialContext()
          Constructs an initial context.
InitialContext.InitialContext(java.util.Hashtable environment)
          Constructs an initial context using information supplied in 'environment'.
 

Uses of NamingException in javax.naming.directory
 

Subclasses of NamingException in javax.naming.directory
 interface AttributeInUseException
          This exception is thrown when an operation attempts to add an attribute that already exists.
 interface AttributeModificationException
          This exception is thrown when an attempt is made to add, or remove, or modify an attribute, its identifier, or its values that conflicts with the attribute's (schema) definition or the attribute's state.
 interface InvalidAttributeIdentifierException
          This exception is thrown when an attempt is made to add to create an attribute with an invalid attribute identifier.
 interface InvalidAttributesException
          This exception is thrown when an attempt is made to add or modify an attribute set that has been specified incompletely or incorrectly.
 interface InvalidAttributeValueException
          This class is thrown when an attempt is made to add to an attribute a value that conflicts with the attribute's schema definition.
 interface InvalidSearchControlsException
          This exception is thrown when the specification of the SearchControls for a search operation is invalid.
 interface InvalidSearchFilterException
          This exception is thrown when the specification of a search filter is invalid.
 interface NoSuchAttributeException
          This exception is thrown when attempting to access an attribute that does not exist.
 interface SchemaViolationException
          This exception is thrown when a method in some ways violates the schema.
 

Methods in javax.naming.directory that throw NamingException
 Attributes DirContext.getAttributes(Name name)
          Retrieves all of the attributes associated with a named object.
 Attributes DirContext.getAttributes(java.lang.String name)
          Retrieves all of the attributes associated with a string-named object.
 Attributes DirContext.getAttributes(Name name, java.lang.String[] attrIds)
          Retrieves selected attributes associated with a named object.
 Attributes DirContext.getAttributes(java.lang.String name, java.lang.String[] attrIds)
          Retrieves selected attributes associated with a string-named object.
 void DirContext.modifyAttributes(Name name, int mod_op, Attributes attrs)
          Modifies the attributes associated with a named object.
 void DirContext.modifyAttributes(java.lang.String name, int mod_op, Attributes attrs)
          Modifies the attributes associated with a string-named object.
 void DirContext.modifyAttributes(Name name, ModificationItem[] mods)
          Modifies the attributes associated with a named object using an an ordered list of modifications.
 void DirContext.modifyAttributes(java.lang.String name, ModificationItem[] mods)
          Modifies the attributes associated with a string-named object using an an ordered list of modifications.
 void DirContext.bind(Name name, java.lang.Object obj, Attributes attrs)
          Binds 'name' to the object 'obj' and associate the attributes 'attrs' with the named object.
 void DirContext.bind(java.lang.String name, java.lang.Object obj, Attributes attrs)
          Binds 'name' to the object 'obj' and associate the attributes 'attrs' with the named object.
 void DirContext.rebind(Name name, java.lang.Object obj, Attributes attrs)
          Binds 'name' to the object 'obj' and associates the attributes 'attrs' with the named object, overwriting any existing binding.
 void DirContext.rebind(java.lang.String name, java.lang.Object obj, Attributes attrs)
          Binds 'name' to the object 'obj' and associates the attributes 'attrs' with the (string-) named object, overwriting any existing binding.
 DirContext DirContext.createSubcontext(Name name, Attributes attrs)
          Creates a new context with given attributes, and binds it in the target context.
 DirContext DirContext.createSubcontext(java.lang.String name, Attributes attrs)
          Creates a new context with given attributes, and binds it in the target context.
 DirContext DirContext.getSchema(Name name)
          Retrieves the schema associated with the named object.
 DirContext DirContext.getSchema(java.lang.String name)
          Retrieves the schema associated with the string-named object.
 DirContext DirContext.getSchemaClassDefinition(Name name)
          Retrieves the schema object class definition for the named object.
 DirContext DirContext.getSchemaClassDefinition(java.lang.String name)
          Retrieves the schema object class definition associated with the (string-) named object.
 NamingEnumeration DirContext.search(Name name, Attributes matchingAttributes, java.lang.String[] attributesToReturn)
          Searches in a single context for objects that contain a specified set of attributes and retrieve their attributes.
 NamingEnumeration DirContext.search(java.lang.String name, Attributes matchingAttributes, java.lang.String[] attributesToReturn)
          Searches in a single context for objects that contain a specified set of attributes and return their specified attributes.
 NamingEnumeration DirContext.search(Name name, Attributes matchingAttributes)
          Searches in a single context for objects that contain a specified set of attributes.
 NamingEnumeration DirContext.search(java.lang.String name, Attributes matchingAttributes)
          Searches in a single context for objects that contain a specified set of attributes.
 NamingEnumeration DirContext.search(Name name, java.lang.String filter, SearchControls cons)
          Searches in the named context or object for entries that satisfy the given search filter.
 NamingEnumeration DirContext.search(java.lang.String name, java.lang.String filter, SearchControls cons)
          Searches in the named context or named object for entries that satisfy the given search filter.
 NamingEnumeration DirContext.search(Name name, java.lang.String filterExpr, java.lang.Object[] filterArgs, SearchControls cons)
          Searches in the named context or object for entries that satisfy the given search filter.
 NamingEnumeration DirContext.search(java.lang.String name, java.lang.String filterExpr, java.lang.Object[] filterArgs, SearchControls cons)
          Searches in the named context or object for entries that satisfy the given search filter.
 NamingEnumeration Attribute.getAll()
          Retrieves an enumeration of the attribute's values.
 java.lang.Object Attribute.get()
          Retrieves one of this attribute's values.
 DirContext Attribute.getAttributeSyntaxDefinition()
          Retrieves the syntax definition associated with the attribute.
 DirContext Attribute.getAttributeDefinition()
          Retrieves the attribute's schema definition.
 Attributes InitialDirContext.getAttributes(java.lang.String name)
          Retrieves all the attributes associated with named object.
 Attributes InitialDirContext.getAttributes(java.lang.String name, java.lang.String[] attrIds)
          Retrieves the attributes listed in attrIds associated with named object.
 Attributes InitialDirContext.getAttributes(Name name)
          Retrieves all the attributes associated with named object.
 Attributes InitialDirContext.getAttributes(Name name, java.lang.String[] attrIds)
          Retrieves the attributes listed in attrIds associated with named object.
 void InitialDirContext.modifyAttributes(java.lang.String name, int mod_op, Attributes attrs)
          Modifies according to mod_op and attrs the attributes associated with the named object.
 void InitialDirContext.modifyAttributes(Name name, int mod_op, Attributes attrs)
          Modifies according to mod_op and attrs the attributes associated with the named object.
 void InitialDirContext.modifyAttributes(java.lang.String name, ModificationItem[] mods)
          Modifies according to mods the attributes associated with the named object.
 void InitialDirContext.modifyAttributes(Name name, ModificationItem[] mods)
          Modifies according to mods the attributes associated with the named object.
 void InitialDirContext.bind(java.lang.String name, java.lang.Object obj, Attributes attrs)
          Binds 'name' to the object 'obj' and associate the attributes 'attrs' with the named object.
 void InitialDirContext.bind(Name name, java.lang.Object obj, Attributes attrs)
          Binds 'name' to the object 'obj' and associate the attributes 'attrs' with the named object.
 void InitialDirContext.rebind(java.lang.String name, java.lang.Object obj, Attributes attrs)
          Binds 'name' to the object 'obj' and associates the attributes 'attrs' with the named object.
 void InitialDirContext.rebind(Name name, java.lang.Object obj, Attributes attrs)
          Binds 'name' to the object 'obj' and associates the attributes 'attrs' with the named object.
 DirContext InitialDirContext.createSubcontext(java.lang.String name, Attributes attrs)
          Creates a new subcontext with the given name resolved relative to the initial context, and associates the attributes 'attrs' with the named object.
 DirContext InitialDirContext.createSubcontext(Name name, Attributes attrs)
          Creates a new subcontext with the given name resolved relative to the initial context, and associates the attributes 'attrs' with the named object.
 DirContext InitialDirContext.getSchema(java.lang.String name)
          Retrieves the schema associated with this initial DirContext.
 DirContext InitialDirContext.getSchema(Name name)
          Retrieves the schema associated with this initial DirContext.
 DirContext InitialDirContext.getSchemaClassDefinition(java.lang.String name)
          Retrieves the schema class definition associated with this initial context.
 DirContext InitialDirContext.getSchemaClassDefinition(Name name)
          Retrieves the schema class definition associated with this initial context.
 NamingEnumeration InitialDirContext.search(java.lang.String name, Attributes matchingAttributes)
          Searches for named objects that contain a set of attributes in a single context.
 NamingEnumeration InitialDirContext.search(Name name, Attributes matchingAttributes)
          Searches for named objects that contain a set of attributes in a single context.
 NamingEnumeration InitialDirContext.search(java.lang.String name, Attributes matchingAttributes, java.lang.String[] attributesToReturn)
          Searches for named objects that contain a set of attributes in a single context.
 NamingEnumeration InitialDirContext.search(Name name, Attributes matchingAttributes, java.lang.String[] attributesToReturn)
          Searches for named objects that contain a set of attributes in a single context.
 NamingEnumeration InitialDirContext.search(java.lang.String name, java.lang.String filter, SearchControls cons)
          Search in the context named by 'name' entries with that satisfies the given string 'filter'.
 NamingEnumeration InitialDirContext.search(Name name, java.lang.String filter, SearchControls cons)
          Search in the context named by 'name' entries with that satisfies the given string 'filter'.
 NamingEnumeration InitialDirContext.search(java.lang.String name, java.lang.String filterExpr, java.lang.Object[] filterArgs, SearchControls cons)
          Search in the context named by 'name' entries with that satisfies the given 'filter'.
 NamingEnumeration InitialDirContext.search(Name name, java.lang.String filterExpr, java.lang.Object[] filterArgs, SearchControls cons)
          Search in the context named by 'name' entries with that satisfies the given 'filter'.
 NamingEnumeration BasicAttribute.getAll()
          Retrieves an enumeration of this attribute's values.
 java.lang.Object BasicAttribute.get()
          Retrieves one of this attribute's values.
 DirContext BasicAttribute.getAttributeSyntaxDefinition()
          Retrieves the syntax definition associated with this attribute.
 DirContext BasicAttribute.getAttributeDefinition()
          Retrieves this attribute's schema definition.
 

Constructors in javax.naming.directory that throw NamingException
InitialDirContext.InitialDirContext()
          Constructs an initial DirContext.
InitialDirContext.InitialDirContext(java.util.Hashtable environment)
          Constructs an initial DirContext using information supplied in 'environment'.
 

Uses of NamingException in javax.naming.spi
 

Methods in javax.naming.spi that throw NamingException
 InitialContextFactory InitialContextFactoryBuilder.createInitialContextFactory(java.util.Hashtable environment)
          Creates an initial context factory using the specified environment.
 Context InitialContextFactory.getInitialContext(java.util.Hashtable environment)
          Creates an Initial Context for beginning name resolution.
 ResolveResult Resolver.resolveToClass(java.lang.String name, java.lang.Class contextType)
          Partially resolves a name, stopping at the first context that is an instance of a given subtype of Context.
 ResolveResult Resolver.resolveToClass(Name name, java.lang.Class contextType)
          Partially resolves a name, stopping at the first context that is an instance of a given subtype of Context.
static void NamingManager.setObjectFactoryBuilder(ObjectFactoryBuilder builder)
          The ObjectFactoryBuilder determines the policy used when trying to load object factories.
static Context NamingManager.getURLContext(java.lang.String scheme, java.util.Hashtable environment)
          Creates a context for the given URL scheme id.
static Context NamingManager.getInitialContext(java.util.Hashtable environment)
          Creates an initial context using the specified environment properties.
static void NamingManager.setInitialContextFactoryBuilder(InitialContextFactoryBuilder builder)
          Sets the InitialContextFactory builder to be builder.
static Context NamingManager.getContinuationContext(CannotProceedException cpe)
          Creates a context in which to continue a context operation.
static DirContext DirectoryManager.getContinuationDirContext(CannotProceedException cpe)
          Creates a context in which to continue a DirContext operation.
 ObjectFactory ObjectFactoryBuilder.createObjectFactory(java.lang.Object obj, java.util.Hashtable info)
          Creates a new object factory using the information supplied.
 


JNDI 1.1.1

For more information on JNDI, please see http://java.sun.com/products/jndi