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: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]