Uses of Class javax.naming.NamingException

Uses in package javax.naming

Classes derived from javax.naming.NamingException

class
class
class
class
class
class
This exception is thrown in response to the attempt to destroy the non empty context.
class
class
class
Exception indicating an invalid component or Name.
class
class
class
class
class
class
class
class
class
class
class
class
Thrown from the NamingEnumeration, this exception indicates that the enumeration represents only part of the existing elements that would be an answer to the specified request.
class
class
class
Thrown from the NamingEnumeration, this exception indicates that there are more elements than the previously specified size limit.
class

Constructors which throw type javax.naming.NamingException

Creates teh new initial context with no properties.
InitialContext.InitialContext(Hashtable environment)
Creates the new initial context with the given properties.
Creates the initial context with the possibility to delay its initialisation.

Methods which throw type javax.naming.NamingException

Object
Context.addToEnvironment(String propName, Object propVal)
Add new environment property to the environment of this context.
Object
void
Context.bind(String name, Object obj)
Give the specified name for the specified object.
void
void
Context.bind(Name name, Object obj)
Give the specified name for the specified object.
void
void
Releases all resources, associated with this context.
void
void
Immediately frees all resources, owned by this enumeration.
String
Composes the name of this context together with another name, related to this context.
String
Name
Context.composeName(Name name, Name prefix)
Composes the name of this context together with another name, related to this context.
Name
Context
Creates the new naming subcontext and binds it to the current (this) context.
Context
Context
Creates the new naming subcontext and binds it to the current (this) context.
Context
void
Removes the naming subcontext from this naming context.
void
void
Removes the naming subcontext from this naming context.
void
Context
Get the default initial context.
Hashtable
Returns the environment, associated with this naming context.
Hashtable
String
String
Returs the full name of this naming context.
String
This operation is not supported for the initial naming context.
NameParser
Obtains the name parser for parsing the names of the given naming subcontext.
NameParser
NameParser
Obtains the name parser for parsing the names of the given naming subcontext.
NameParser
Reference
Get the reference about this object.
Context
Context
Context
Obtains the context for resolving the given name.
Context
Obtains the context for resolving the given name.
boolean
Checks if there are more unvisited elements in the enumeration, throwing exceptions if there are some unvisited, but not available elements.
void
InitialContext.init(Hashtable environment)
Initialises the context, using the properties, specified in the passed table.
NamingEnumeration
Creates and returns the enumeration over the name bindings that are present the given subcontext.
NamingEnumeration
NamingEnumeration
Creates and returns the enumeration over the name bindings that are present the given subcontext.
NamingEnumeration
NamingEnumeration
Creates and returns the enumeration over the name - object bindings that are present the given subcontext.
NamingEnumeration
NamingEnumeration
Creates and returns the enumeration over the name - object bindings that are present the given subcontext.
NamingEnumeration
Object
Gets the previously named object by name.
Object
Object
Gets the previously named object by name.
Object
Object
Retrieves the named object, not following the link of the terminal atomic component of the name.
Object
Object
Retrieves the named object, not following the link of the terminal atomic component of the name.
Object
T
Returns the next element in this enumeration.
Name
Parser the string name representation into the Name representation
void
Give the specified name for the specified object.
void
void
Context.rebind(Name name, Object obj)
Give the specified name for the specified object.
void
Object
Removes the property with the given name from the environment.
Object
void
Context.rename(String oldName, String newName)
Renames the existing binding, removing the existing and giving the new name for the same object.
void
InitialContext.rename(String oldName, String newName)
void
Context.rename(Name oldName, Name newName)
Renames the existing binding, removing the existing and giving the new name for the same object.
void
InitialContext.rename(Name oldName, Name newName)
void
Removes the name - object mapping from the current context.
void
void
Removes the name - object mapping from the current context.
void

Uses in package javax.naming.directory

Classes derived from javax.naming.NamingException

class
class
class
class
class
class
class
class
class

Constructors which throw type javax.naming.NamingException

InitialDirContext.InitialDirContext(Hashtable environment)

Methods which throw type javax.naming.NamingException

void
DirContext.bind(String name, Object obj, Attributes attrs)
void
void
DirContext.bind(Name name, Object obj, Attributes attrs)
void
DirContext
DirContext
DirContext
DirContext
Object
Object
Object
Attribute.get(int ix)
Object
BasicAttribute.get(int index)
NamingEnumeration
NamingEnumeration
DirContext
DirContext
DirContext
DirContext
Attributes
Attributes
Attributes
Attributes
Attributes
Attributes
Attributes
DirContext.getAttributes(Name name, String[] attrIds)
Attributes
DirContext
DirContext
DirContext
DirContext
DirContext
DirContext
DirContext
DirContext
void
DirContext.modifyAttributes(String name, int mod_op, Attributes attrs)
void
void
void
void
DirContext.modifyAttributes(Name name, int mod_op, Attributes attrs)
void
void
void
void
void
void
DirContext.rebind(Name name, Object obj, Attributes attrs)
void
NamingEnumeration
DirContext.search(String name, String filterExpr, Object[] filterArgs, SearchControls cons)
NamingEnumeration
InitialDirContext.search(String name, String filterExpr, Object[] filterArgs, SearchControls cons)
NamingEnumeration
NamingEnumeration
NamingEnumeration
DirContext.search(String name, Attributes matchingAttributes)
NamingEnumeration
InitialDirContext.search(String name, Attributes matchingAttributes)
NamingEnumeration
DirContext.search(String name, Attributes matchingAttributes, String[] attributesToReturn)
NamingEnumeration
InitialDirContext.search(String name, Attributes matchingAttributes, String[] attributesToReturn)
NamingEnumeration
DirContext.search(Name name, String filterExpr, Object[] filterArgs, SearchControls cons)
NamingEnumeration
InitialDirContext.search(Name name, String filterExpr, Object[] filterArgs, SearchControls cons)
NamingEnumeration
DirContext.search(Name name, String filter, SearchControls cons)
NamingEnumeration
NamingEnumeration
DirContext.search(Name name, Attributes matchingAttributes)
NamingEnumeration
InitialDirContext.search(Name name, Attributes matchingAttributes)
NamingEnumeration
DirContext.search(Name name, Attributes matchingAttributes, String[] attributesToReturn)
NamingEnumeration
InitialDirContext.search(Name name, Attributes matchingAttributes, String[] attributesToReturn)

Uses in package javax.naming.ldap

Classes derived from javax.naming.NamingException

class

Constructors which throw type javax.naming.NamingException

Creates teh new initial context with no properties.
InitialLdapContext.InitialLdapContext(Hashtable environment, Control[] connControls)

Methods with return type javax.naming.NamingException

NamingException

Methods which throw type javax.naming.NamingException

ExtendedResponse
ExtendedRequest.createExtendedResponse(String id, byte[] berValue, int offset, int length)
ExtendedResponse
StartTlsRequest.createExtendedResponse(String id, byte[] berValue, int offset, int length)
Create a new extended reponse object, using the standard service provider approach to load a provider.
ExtendedResponse
ExtendedResponse
Control[]
Control[]
Control
Control
ControlFactory.getControlInstance(Control control, Context ctx, Hashtable env)
Control[]
Context
Context
Context
Control[]
Control[]
Control[]
Control[]
LdapContext
LdapContext
LdapContext.newInstance(Control[] requestControls)
void
void
void
void

Uses in package javax.naming.spi

Methods which throw type javax.naming.NamingException

InitialContextFactory
Create the new initial context factory
ObjectFactory
ObjectFactoryBuilder.createObjectFactory(Object refInfo, Hashtable environment)
Create a new object using the supplied environment.
Context
Creates a context in which the context operation must be continued.
DirContext
Context
Create a new initial context
Context
NamingManager.getInitialContext(Hashtable environment)
Creates the initial context.
Object
NamingManager.getStateToBind(Object obj, Name name, Context nameCtx, Hashtable environment)
Get the object state for binding.
Object
StateFactory.getStateToBind(Object obj, Name name, Context nameCtx, Hashtable environment)
Get the object state for binding.
DirStateFactory.Result
DirectoryManager.getStateToBind(Object obj, Name name, Context nameCtx, Hashtable environment, Attributes attrs)
DirStateFactory.Result
DirStateFactory.getStateToBind(Object obj, Name name, Context nameCtx, Hashtable environment, Attributes inAttrs)
Context
NamingManager.getURLContext(String scheme, Hashtable environment)
Creates the URL context for the given URL scheme id.
ResolveResult
Resolver.resolveToClass(String name, Context> contextType)
ResolveResult
Resolver.resolveToClass(Name name, Context> contextType)
void
Sets the initial context factory builder.
void
Sets the initial object factory builder.

Uses in package javax.naming.event

Constructors with parameter type javax.naming.NamingException

Methods with return type javax.naming.NamingException

NamingException

Methods which throw type javax.naming.NamingException

void
void
void
void
void
void
void
boolean