directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r671618 - in /directory/apacheds/branches/bigbang/core-integ/src/main/java/org/apache/directory/server/core/integ/state: StartedNormalState.java StartedPristineState.java
Date Wed, 25 Jun 2008 18:15:18 GMT
Author: kayyagari
Date: Wed Jun 25 11:15:17 2008
New Revision: 671618

URL: http://svn.apache.org/viewvc?rev=671618&view=rev
Log:
replaced the NamingException with Exception

Modified:
    directory/apacheds/branches/bigbang/core-integ/src/main/java/org/apache/directory/server/core/integ/state/StartedNormalState.java
    directory/apacheds/branches/bigbang/core-integ/src/main/java/org/apache/directory/server/core/integ/state/StartedPristineState.java

Modified: directory/apacheds/branches/bigbang/core-integ/src/main/java/org/apache/directory/server/core/integ/state/StartedNormalState.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/bigbang/core-integ/src/main/java/org/apache/directory/server/core/integ/state/StartedNormalState.java?rev=671618&r1=671617&r2=671618&view=diff
==============================================================================
--- directory/apacheds/branches/bigbang/core-integ/src/main/java/org/apache/directory/server/core/integ/state/StartedNormalState.java
(original)
+++ directory/apacheds/branches/bigbang/core-integ/src/main/java/org/apache/directory/server/core/integ/state/StartedNormalState.java
Wed Jun 25 11:15:17 2008
@@ -21,8 +21,6 @@
 
 import java.io.IOException;
 
-import javax.naming.NamingException;
-
 import org.apache.directory.server.core.integ.InheritableSettings;
 import static org.apache.directory.server.core.integ.IntegrationUtils.doDelete;
 import org.junit.internal.runners.TestClass;
@@ -156,7 +154,7 @@
                 {
                     context.getService().getChangeLog().tag();
                 }
-                catch ( NamingException e )
+                catch ( Exception e )
                 {
                     // @TODO - we might want to check the revision of the service before
                     // we presume that it has been soiled.  Some tests may simply perform
@@ -222,4 +220,4 @@
                 return;
         }
     }
-}
\ No newline at end of file
+}

Modified: directory/apacheds/branches/bigbang/core-integ/src/main/java/org/apache/directory/server/core/integ/state/StartedPristineState.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/bigbang/core-integ/src/main/java/org/apache/directory/server/core/integ/state/StartedPristineState.java?rev=671618&r1=671617&r2=671618&view=diff
==============================================================================
--- directory/apacheds/branches/bigbang/core-integ/src/main/java/org/apache/directory/server/core/integ/state/StartedPristineState.java
(original)
+++ directory/apacheds/branches/bigbang/core-integ/src/main/java/org/apache/directory/server/core/integ/state/StartedPristineState.java
Wed Jun 25 11:15:17 2008
@@ -20,7 +20,6 @@
 
 
 import java.io.IOException;
-import javax.naming.NamingException;
 
 import org.apache.directory.server.core.integ.InheritableSettings;
 import static org.apache.directory.server.core.integ.IntegrationUtils.doDelete;
@@ -158,7 +157,7 @@
                 {
                     context.getService().getChangeLog().tag();
                 }
-                catch ( NamingException e )
+                catch ( Exception e )
                 {
                     // @TODO - we might want to check the revision of the service before
                     // we presume that it has been soiled.  Some tests may simply perform
@@ -191,4 +190,4 @@
                 return;
         }
     }
-}
\ No newline at end of file
+}



Mime
View raw message