You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by we...@apache.org on 2002/10/08 22:22:13 UTC
cvs commit: jakarta-commons-sandbox/jelly/src/java/org/apache/commons/jelly/impl TagScript.java
werken 2002/10/08 13:22:13
Modified: jelly/src/java/org/apache/commons/jelly/impl TagScript.java
Log:
Reducing output when an exception goes flying by.
Tossing an exception is a perfectly valid (non-erroneous) method
of flow-control manipulation within jelly, and shouldn't be logged
as an error from TagScript.
Revision Changes Path
1.22 +7 -7 jakarta-commons-sandbox/jelly/src/java/org/apache/commons/jelly/impl/TagScript.java
Index: TagScript.java
===================================================================
RCS file: /home/cvs/jakarta-commons-sandbox/jelly/src/java/org/apache/commons/jelly/impl/TagScript.java,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- TagScript.java 8 Oct 2002 11:26:00 -0000 1.21
+++ TagScript.java 8 Oct 2002 20:22:13 -0000 1.22
@@ -524,7 +524,7 @@
*/
protected void handleException(JellyException e) throws Exception {
//e.printStackTrace();
- log.error( "Caught exception: " + e, e );
+ // log.error( "Caught exception: " + e, e );
if (e.getLineNumber() == -1) {
e.setColumnNumber(columnNumber);
@@ -546,7 +546,7 @@
*/
protected void handleException(Exception e) throws Exception {
//e.printStackTrace();
- log.error( "Caught exception: " + e, e );
+ // log.error( "Caught exception: " + e, e );
if ( e instanceof JellyException ) {
e.fillInStackTrace();
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>