directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r923676 - /directory/shared/trunk/ldap/src/main/antlr/distinguishedName.g
Date Tue, 16 Mar 2010 10:42:41 GMT
Author: kayyagari
Date: Tue Mar 16 10:42:40 2010
New Revision: 923676

URL: http://svn.apache.org/viewvc?rev=923676&view=rev
Log:
replaced InvalidNameException with LdapInvalidDnException

Modified:
    directory/shared/trunk/ldap/src/main/antlr/distinguishedName.g

Modified: directory/shared/trunk/ldap/src/main/antlr/distinguishedName.g
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/antlr/distinguishedName.g?rev=923676&r1=923675&r2=923676&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/antlr/distinguishedName.g (original)
+++ directory/shared/trunk/ldap/src/main/antlr/distinguishedName.g Tue Mar 16 10:42:40 2010
@@ -26,7 +26,7 @@ import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
 
-import javax.naming.InvalidNameException;
+import org.apache.directory.shared.ldap.exception.LdapInvalidDnException;
 import javax.naming.NameParser;
 import org.apache.directory.shared.ldap.entry.client.ClientStringValue;
 import org.apache.directory.shared.ldap.entry.client.ClientBinaryValue;
@@ -323,7 +323,7 @@ attributeTypeAndValue [RDN rdn] returns 
            
                 rdn.addAttributeTypeAndValue( ava );
             }
-            catch ( InvalidNameException e )
+            catch ( LdapInvalidDnException e )
             {
                 throw new SemanticException( e.getMessage() );
             } 



Mime
View raw message