cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ovi...@apache.org
Subject cvs commit: xml-cocoon2/src/scratchpad/schecoon/src/org/apache/cocoon/components/treeprocessor/sitemap ScriptNode.java
Date Fri, 03 May 2002 18:25:17 GMT
ovidiu      02/05/03 11:25:17

  Modified:    src/scratchpad/schecoon/src/org/apache/cocoon/components/treeprocessor/sitemap
                        ScriptNode.java
  Log:
  Print the exception name in case an error happens.
  
  Revision  Changes    Path
  1.7       +2 -4      xml-cocoon2/src/scratchpad/schecoon/src/org/apache/cocoon/components/treeprocessor/sitemap/ScriptNode.java
  
  Index: ScriptNode.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/scratchpad/schecoon/src/org/apache/cocoon/components/treeprocessor/sitemap/ScriptNode.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- ScriptNode.java	18 Mar 2002 06:42:01 -0000	1.6
  +++ ScriptNode.java	3 May 2002 18:25:17 -0000	1.7
  @@ -72,11 +72,9 @@
         // AbstractInterpreter
       }
       catch (Exception ex) {
  -      ex.printStackTrace();
  -      System.out.println("ScriptNode: Couldn't read the source file "
  -                         + source + " in language " + language);
         throw new ComponentException("ScriptNode: Couldn't read the source file "
  -                                   + source + " in language " + language);
  +                                   + source + " in language " + language
  +                                   + ":" + ex);
       }
     }
   }
  
  
  

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


Mime
View raw message