You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by st...@apache.org on 2002/07/01 01:14:55 UTC

cvs commit: xml-cocoon2/src/scratchpad/src/org/apache/cocoon/components/source/impl SlideSource.java

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:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org