You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by di...@apache.org on 2001/05/18 22:50:13 UTC

cvs commit: xml-cocoon2/src/org/apache/cocoon/sitemap XSLTFactoryLoader.java

dims        01/05/18 13:50:13

  Modified:    src/org/apache/cocoon/sitemap XSLTFactoryLoader.java
  Log:
  Better logging for diagnosing the problem reported by Donald Ball.
  
  Revision  Changes    Path
  1.2       +6 -2      xml-cocoon2/src/org/apache/cocoon/sitemap/XSLTFactoryLoader.java
  
  Index: XSLTFactoryLoader.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/org/apache/cocoon/sitemap/XSLTFactoryLoader.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- XSLTFactoryLoader.java	2001/05/09 20:49:37	1.1
  +++ XSLTFactoryLoader.java	2001/05/18 20:50:12	1.2
  @@ -25,7 +25,7 @@
    *
    * @author <a href="mailto:Giacomo.Pati@pwr.ch">Giacomo Pati</a>
    * @author <a href="mailto:bloritsch@apache.org">Berin Loritsch</a>
  - * @version CVS $Revision: 1.1 $ $Date: 2001/05/09 20:49:37 $
  + * @version CVS $Revision: 1.2 $ $Date: 2001/05/18 20:50:12 $
    */
   
   public class XSLTFactoryLoader {
  @@ -94,7 +94,11 @@
           boolean result = false;
           try {
               result = ClassUtils.implementsInterface (className, CodeFactory.class.getName());
  -        } catch (Exception e) {log.debug("XSLTFactoryLoader.isFactory", e);}
  +        } catch (ClassNotFoundException e) {
  +            log.debug("ClassNotFoundException in XSLTFactoryLoader.isFactory checking for " + className, e);
  +        } catch (Exception e) {
  +            log.debug("Exception in XSLTFactoryLoader.isFactory checking for " + className, e);
  +        }
           return result;
       }
   }
  
  
  

----------------------------------------------------------------------
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