avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-avalon-excalibur/loader/src/java/org/apache/excalibur/loader/builder ClassLoaderSetBuilder.java
Date Mon, 16 Sep 2002 08:11:01 GMT
donaldp     2002/09/16 01:11:01

  Modified:    loader/src/java/org/apache/excalibur/loader/builder
                        ClassLoaderSetBuilder.java
  Log:
  Remove reference to ConfigurationException
  
  Revision  Changes    Path
  1.6       +15 -16    jakarta-avalon-excalibur/loader/src/java/org/apache/excalibur/loader/builder/ClassLoaderSetBuilder.java
  
  Index: ClassLoaderSetBuilder.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/loader/src/java/org/apache/excalibur/loader/builder/ClassLoaderSetBuilder.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- ClassLoaderSetBuilder.java	15 Sep 2002 21:00:56 -0000	1.5
  +++ ClassLoaderSetBuilder.java	16 Sep 2002 08:11:01 -0000	1.6
  @@ -10,7 +10,6 @@
   import java.util.ArrayList;
   import org.apache.avalon.excalibur.extension.Extension;
   import org.apache.avalon.framework.configuration.Configuration;
  -import org.apache.avalon.framework.configuration.ConfigurationException;
   import org.apache.excalibur.loader.metadata.ClassLoaderMetaData;
   import org.apache.excalibur.loader.metadata.ClassLoaderSetMetaData;
   import org.apache.excalibur.loader.metadata.FileSetMetaData;
  @@ -26,7 +25,7 @@
   public class ClassLoaderSetBuilder
   {
       public ClassLoaderSetMetaData build( final Configuration config )
  -        throws ConfigurationException
  +        throws Exception
       {
           final String defaultClassLoader =
               config.getAttribute( "default" );
  @@ -36,7 +35,7 @@
           if( !"1.0".equals( version ) )
           {
               final String message = "Bad version:" + version;
  -            throw new ConfigurationException( message );
  +            throw new Exception( message );
           }
   
           final Configuration[] joinConfigs =
  @@ -63,7 +62,7 @@
       }
   
       private String[] buildPredefined( final Configuration[] configs )
  -        throws ConfigurationException
  +        throws Exception
       {
           final ArrayList predefines = new ArrayList();
   
  @@ -77,7 +76,7 @@
       }
   
       private ClassLoaderMetaData[] buildClassLoaders( Configuration[] configs )
  -        throws ConfigurationException
  +        throws Exception
       {
           final ArrayList loaders = new ArrayList();
   
  @@ -91,7 +90,7 @@
       }
   
       private ClassLoaderMetaData buildLoader( final Configuration config )
  -        throws ConfigurationException
  +        throws Exception
       {
           final String name = config.getAttribute( "name" );
           final String parent = config.getAttribute( "parent" );
  @@ -107,7 +106,7 @@
       }
   
       private Extension[] buildExtensions( final Configuration[] configs )
  -        throws ConfigurationException
  +        throws Exception
       {
           final ArrayList extensions = new ArrayList();
   
  @@ -122,7 +121,7 @@
       }
   
       private Extension buildExtension( final Configuration config )
  -        throws ConfigurationException
  +        throws Exception
       {
           final String name =
               config.getAttribute( "name" );
  @@ -145,7 +144,7 @@
       }
   
       private FileSetMetaData[] buildFileSets( final Configuration[] configs )
  -        throws ConfigurationException
  +        throws Exception
       {
           final ArrayList fileSets = new ArrayList();
   
  @@ -160,7 +159,7 @@
       }
   
       private FileSetMetaData buildFileSet( Configuration config )
  -        throws ConfigurationException
  +        throws Exception
       {
           final String dir = config.getAttribute( "dir" );
           final String[] includes =
  @@ -171,7 +170,7 @@
       }
   
       private String[] buildSelectors( Configuration[] configs )
  -        throws ConfigurationException
  +        throws Exception
       {
           final ArrayList selectors = new ArrayList();
   
  @@ -186,7 +185,7 @@
       }
   
       private String[] buildEntrys( final Configuration[] configs )
  -        throws ConfigurationException
  +        throws Exception
       {
           final ArrayList entrys = new ArrayList();
   
  @@ -201,7 +200,7 @@
       }
   
       private JoinMetaData[] buildJoins( final Configuration[] configs )
  -        throws ConfigurationException
  +        throws Exception
       {
           final ArrayList joins = new ArrayList();
   
  @@ -215,7 +214,7 @@
       }
   
       private JoinMetaData buildJoin( final Configuration config )
  -        throws ConfigurationException
  +        throws Exception
       {
           final String name = config.getAttribute( "name" );
           final Configuration[] children =
  @@ -226,7 +225,7 @@
       }
   
       private String[] buildClassLoaderRefs( final Configuration[] configs )
  -        throws ConfigurationException
  +        throws Exception
       {
           final ArrayList refs = new ArrayList();
   
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message