You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2008/07/10 13:29:52 UTC
svn commit: r675525 -
/directory/apacheds/branches/bigbang/core-integ/src/test/java/org/apache/directory/server/core/partition/PartitionIT.java
Author: elecharny
Date: Thu Jul 10 04:29:52 2008
New Revision: 675525
URL: http://svn.apache.org/viewvc?rev=675525&view=rev
Log:
Replaced a NamingException by the generic Exception
Modified:
directory/apacheds/branches/bigbang/core-integ/src/test/java/org/apache/directory/server/core/partition/PartitionIT.java
Modified: directory/apacheds/branches/bigbang/core-integ/src/test/java/org/apache/directory/server/core/partition/PartitionIT.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/bigbang/core-integ/src/test/java/org/apache/directory/server/core/partition/PartitionIT.java?rev=675525&r1=675524&r2=675525&view=diff
==============================================================================
--- directory/apacheds/branches/bigbang/core-integ/src/test/java/org/apache/directory/server/core/partition/PartitionIT.java (original)
+++ directory/apacheds/branches/bigbang/core-integ/src/test/java/org/apache/directory/server/core/partition/PartitionIT.java Thu Jul 10 04:29:52 2008
@@ -43,7 +43,6 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
-import javax.naming.NamingException;
import javax.naming.directory.Attribute;
import javax.naming.directory.Attributes;
import javax.naming.ldap.LdapContext;
@@ -70,7 +69,7 @@
*/
public static class Factory implements DirectoryServiceFactory
{
- public DirectoryService newInstance() throws NamingException
+ public DirectoryService newInstance() throws Exception
{
DirectoryService service = new DefaultDirectoryService();
service.getChangeLog().setEnabled( true );