directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r883255 - /directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/SchemaManager.java
Date Mon, 23 Nov 2009 05:57:37 GMT
Author: elecharny
Date: Mon Nov 23 05:57:36 2009
New Revision: 883255

URL: http://svn.apache.org/viewvc?rev=883255&view=rev
Log:
destroy and swapRegistries method now throw a NamingException

Modified:
    directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/SchemaManager.java

Modified: directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/SchemaManager.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/SchemaManager.java?rev=883255&r1=883254&r2=883255&view=diff
==============================================================================
--- directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/SchemaManager.java
(original)
+++ directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/SchemaManager.java
Mon Nov 23 05:57:36 2009
@@ -508,9 +508,10 @@
      * to avoid memory leaks.
      * 
      * @param targetRegistries The registries we want to store in place of the existing one
+     * @exception If something went wrong
      * @return true if the replacement has been done
      */
-    public boolean swapRegistries( Registries targetRegistries );
+    public boolean swapRegistries( Registries targetRegistries ) throws NamingException;
     
     
     /**
@@ -518,8 +519,9 @@
      * to avoid memory leaks.
      *
      * @param registries The registries to be deleted
+     * @exception If something went wrong
      */
-    public void destroy( Registries registries );
+    public void destroy( Registries registries ) throws NamingException;
     
     
     /**



Mime
View raw message