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/05/21 23:19:09 UTC

svn commit: r658878 - /directory/apacheds/branches/bigbang/schema-registries/src/main/java/org/apache/directory/server/schema/registries/SchemaLoader.java

Author: elecharny
Date: Wed May 21 14:19:08 2008
New Revision: 658878

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

Modified:
    directory/apacheds/branches/bigbang/schema-registries/src/main/java/org/apache/directory/server/schema/registries/SchemaLoader.java

Modified: directory/apacheds/branches/bigbang/schema-registries/src/main/java/org/apache/directory/server/schema/registries/SchemaLoader.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/bigbang/schema-registries/src/main/java/org/apache/directory/server/schema/registries/SchemaLoader.java?rev=658878&r1=658877&r2=658878&view=diff
==============================================================================
--- directory/apacheds/branches/bigbang/schema-registries/src/main/java/org/apache/directory/server/schema/registries/SchemaLoader.java (original)
+++ directory/apacheds/branches/bigbang/schema-registries/src/main/java/org/apache/directory/server/schema/registries/SchemaLoader.java Wed May 21 14:19:08 2008
@@ -23,8 +23,6 @@
 import java.util.Collection;
 import java.util.Properties;
 
-import javax.naming.NamingException;
-
 import org.apache.directory.server.schema.bootstrap.Schema;
 
 
@@ -51,7 +49,7 @@
      * @return the Schema object associated with the name
      * @throws NamingException if any problems while trying to find the associated Schema
      */
-    Schema getSchema( String schemaName ) throws NamingException;
+    Schema getSchema( String schemaName ) throws Exception;
     
     /**
      * Gets a schema object based on it's name and some properties.
@@ -61,7 +59,7 @@
      * @return the Schema object associated with the name
      * @throws NamingException if any problems while trying to find the associated Schema
      */
-    Schema getSchema( String schemaName, Properties schemaProperties ) throws NamingException;
+    Schema getSchema( String schemaName, Properties schemaProperties ) throws Exception;
     
     /**
      * Loads a collection of schemas.  A best effort should be made to load the dependended 
@@ -71,7 +69,7 @@
      * @param registries the registries to populate with these schemas
      * @throws NamingException if any kind of problems are encountered during the load
      */
-    void loadWithDependencies( Collection<Schema> schemas, Registries registries ) throws NamingException;
+    void loadWithDependencies( Collection<Schema> schemas, Registries registries ) throws Exception;
     
     /**
      * Loads a single schema at least and possibly it's dependencies.  
@@ -80,7 +78,7 @@
      * @param registries the registries to populate with these schemas
      * @throws NamingException if any kind of problems are encountered during the load
      */
-    void loadWithDependencies( Schema schemas, Registries registries ) throws NamingException;
+    void loadWithDependencies( Schema schemas, Registries registries ) throws Exception;
     
     /**
      * Loads a single schema.  Do not try to resolve dependencies while implementing this method.
@@ -90,5 +88,5 @@
      * @param isDepLoad tells the loader if this load request is to satisfy a dependency
      * @throws NamingException if any kind of problems are encountered during the load
      */
-    void load( Schema schema, Registries registries, boolean isDepLoad ) throws NamingException;
+    void load( Schema schema, Registries registries, boolean isDepLoad ) throws Exception;
 }