Java™ Platform
Standard Ed. 6

Uses of Class
javax.naming.InvalidNameException

Packages that use InvalidNameException
javax.naming Provides the classes and interfaces for accessing naming services. 
javax.naming.ldap Provides support for LDAPv3 extended operations and controls. 
 

Uses of InvalidNameException in javax.naming
 

Methods in javax.naming that throw InvalidNameException
 Name Name.add(int posn, String comp)
          Adds a single component at a specified position within this name.
 Name CompoundName.add(int posn, String comp)
          Adds a single component at a specified position within this compound name.
 Name CompositeName.add(int posn, String comp)
          Adds a single component at a specified position within this composite name.
 Name Name.add(String comp)
          Adds a single component to the end of this name.
 Name CompoundName.add(String comp)
          Adds a single component to the end of this compound name.
 Name CompositeName.add(String comp)
          Adds a single component to the end of this composite name.
 Name Name.addAll(int posn, Name n)
          Adds the components of a name -- in order -- at a specified position within this name.
 Name CompoundName.addAll(int posn, Name n)
          Adds the components of a compound name -- in order -- at a specified position within this compound name.
 Name CompositeName.addAll(int posn, Name n)
          Adds the components of a composite name -- in order -- at a specified position within this composite name.
 Name Name.addAll(Name suffix)
          Adds the components of a name -- in order -- to the end of this name.
 Name CompoundName.addAll(Name suffix)
          Adds the components of a compound name -- in order -- to the end of this compound name.
 Name CompositeName.addAll(Name suffix)
          Adds the components of a composite name -- in order -- to the end of this composite name.
 Object Name.remove(int posn)
          Removes a component from this name.
 Object CompoundName.remove(int posn)
          Deletes a component from this compound name.
 Object CompositeName.remove(int posn)
          Deletes a component from this composite name.
 

Constructors in javax.naming that throw InvalidNameException
CompositeName(String n)
          Constructs a new composite name instance by parsing the string n using the composite name syntax (left-to-right, slash separated).
CompoundName(String n, Properties syntax)
          Constructs a new compound name instance by parsing the string n using the syntax specified by the syntax properties supplied.
 

Uses of InvalidNameException in javax.naming.ldap
 

Methods in javax.naming.ldap that throw InvalidNameException
 Name LdapName.add(int posn, String comp)
          Adds a single component at a specified position within this LDAP name.
 Name LdapName.add(String comp)
          Adds a single component to the end of this LDAP name.
 Name LdapName.addAll(int posn, Name suffix)
          Adds the components of a name -- in order -- at a specified position within this name.
 Name LdapName.addAll(Name suffix)
          Adds the components of a name -- in order -- to the end of this name.
 Object LdapName.remove(int posn)
          Removes a component from this LDAP name.
 

Constructors in javax.naming.ldap that throw InvalidNameException
LdapName(String name)
          Constructs an LDAP name from the given distinguished name.
Rdn(Attributes attrSet)
          Constructs an Rdn from the given attribute set.
Rdn(String rdnString)
          Constructs an Rdn from the given string.
Rdn(String type, Object value)
          Constructs an Rdn from the given attribute type and value.
 


Java™ Platform
Standard Ed. 6

Submit a bug or feature
For further API reference and developer documentation, see Java SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.

Scripting on this page tracks web page traffic, but does not change the content in any way.