directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r658900 - /directory/apacheds/branches/bigbang/protocol-dns/src/main/java/org/apache/directory/server/dns/store/jndi/SingleBaseSearch.java
Date Wed, 21 May 2008 22:12:00 GMT
Author: elecharny
Date: Wed May 21 15:11:59 2008
New Revision: 658900

URL: http://svn.apache.org/viewvc?rev=658900&view=rev
Log:
Replaced NamingException with Exception

Modified:
    directory/apacheds/branches/bigbang/protocol-dns/src/main/java/org/apache/directory/server/dns/store/jndi/SingleBaseSearch.java

Modified: directory/apacheds/branches/bigbang/protocol-dns/src/main/java/org/apache/directory/server/dns/store/jndi/SingleBaseSearch.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/bigbang/protocol-dns/src/main/java/org/apache/directory/server/dns/store/jndi/SingleBaseSearch.java?rev=658900&r1=658899&r2=658900&view=diff
==============================================================================
--- directory/apacheds/branches/bigbang/protocol-dns/src/main/java/org/apache/directory/server/dns/store/jndi/SingleBaseSearch.java
(original)
+++ directory/apacheds/branches/bigbang/protocol-dns/src/main/java/org/apache/directory/server/dns/store/jndi/SingleBaseSearch.java
Wed May 21 15:11:59 2008
@@ -23,7 +23,6 @@
 
 import java.util.Set;
 
-import javax.naming.NamingException;
 import javax.naming.directory.DirContext;
 
 import org.apache.directory.server.core.DirectoryService;
@@ -59,7 +58,7 @@
         try
         {
             ctx = directoryService.getJndiContext( searchBaseDn );
-        } catch ( NamingException e )
+        } catch ( Exception e )
         {
             throw new ServiceConfigurationException( "Can't get context at" + searchBaseDn,
e );
         }



Mime
View raw message