*
* @throws LdapInvalidDnException the invalid name exception
*/
/* No protection*/void parseDn( String name, List<Rdn> rdns ) throws LdapInvalidDnException
{
AntlrDnParser dnParser = new AntlrDnParser( new AntlrDnLexer( new StringReader( name ) ) );
try
{
dnParser.relativeDistinguishedNames( rdns );
}
catch ( Exception e )
{
throw new LdapInvalidDnException( ResultCodeEnum.INVALID_DN_SYNTAX, e.getMessage(), e );
}