directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r924909 - /directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/operations/search/SearchIT.java
Date Thu, 18 Mar 2010 17:26:56 GMT
Author: kayyagari
Date: Thu Mar 18 17:26:55 2010
New Revision: 924909

URL: http://svn.apache.org/viewvc?rev=924909&view=rev
Log:
fixed exception

Modified:
    directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/operations/search/SearchIT.java

Modified: directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/operations/search/SearchIT.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/operations/search/SearchIT.java?rev=924909&r1=924908&r2=924909&view=diff
==============================================================================
--- directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/operations/search/SearchIT.java
(original)
+++ directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/operations/search/SearchIT.java
Thu Mar 18 17:26:55 2010
@@ -52,6 +52,7 @@ import org.apache.directory.server.core.
 import org.apache.directory.server.core.integ.FrameworkRunner;
 import org.apache.directory.shared.ldap.constants.JndiPropertyConstants;
 import org.apache.directory.shared.ldap.constants.SchemaConstants;
+import org.apache.directory.shared.ldap.exception.LdapException;
 import org.apache.directory.shared.ldap.ldif.LdifUtils;
 import org.apache.directory.shared.ldap.message.AliasDerefMode;
 import org.junit.Before;
@@ -658,7 +659,7 @@ public class SearchIT extends AbstractLd
      * @param sn the surName of the person
      * @return the attributes of a new person entry
      */
-    protected Attributes getPersonAttributes( String sn, String cn ) throws NamingException
+    protected Attributes getPersonAttributes( String sn, String cn ) throws LdapException
     {
         Attributes attributes = LdifUtils.createAttributes( 
             "objectClass: top",



Mime
View raw message