public static LdapName newLdapName ( String distinguishedName ) { Assert . notNull ( distinguishedName , "distinguishedName must not be null" ) ; try { return new LdapName ( distinguishedName ) ; } catch ( InvalidNameException e ) { throw convertLdapException ( e ) ; } }
Construct a new LdapName instance from the supplied distinguished name string .