stephan     2002/06/30 16:14:55

  Modified:    src/scratchpad/src/org/apache/cocoon/components/source/impl
                        SlideSource.java
  Log:
  Replaced deprecated constructor from ComponentException
  
  Revision  Changes    Path
  1.7       +3 -3      
xml-cocoon2/src/scratchpad/src/org/apache/cocoon/components/source/impl/SlideSource.java
  
  Index: SlideSource.java
  ===================================================================
  RCS file: 
/home/cvs/xml-cocoon2/src/scratchpad/src/org/apache/cocoon/components/source/impl/SlideSource.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- SlideSource.java  30 Jun 2002 19:53:40 -0000      1.6
  +++ SlideSource.java  30 Jun 2002 23:14:55 -0000      1.7
  @@ -80,7 +80,6 @@
   
   import org.apache.excalibur.source.Source;
   import org.apache.excalibur.source.SourceException;
  -import org.apache.excalibur.source.SourceFactory;
   import org.apache.excalibur.source.SourceValidity;
   import org.apache.excalibur.source.impl.validity.TimeStampValidity;
   
  @@ -223,7 +222,8 @@
           try {
               initialize();// FIXME SourceResolver doesn't handle Initializable
           } catch (Exception e) {
  -            throw new ComponentException("Could not initialize component", e);
  +            throw new ComponentException("org.apache.excalibur.source.Source", 
  +                                         "Could not initialize component", e);
           }
       }
   
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to