commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: jakarta-commons/jelly/src/java/org/apache/commons/jelly/tags/core InvokeStaticTag.java InvokeTag.java
Date Mon, 16 Aug 2004 01:59:00 GMT
dion        2004/08/15 18:59:00

  Modified:    jelly/src/java/org/apache/commons/jelly/tags/core
                        InvokeStaticTag.java InvokeTag.java
  Log:
  use the target exception for propagation
  
  Revision  Changes    Path
  1.7       +3 -2      jakarta-commons/jelly/src/java/org/apache/commons/jelly/tags/core/InvokeStaticTag.java
  
  Index: InvokeStaticTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jelly/src/java/org/apache/commons/jelly/tags/core/InvokeStaticTag.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- InvokeStaticTag.java	12 Aug 2004 04:25:43 -0000	1.6
  +++ InvokeStaticTag.java	16 Aug 2004 01:59:00 -0000	1.7
  @@ -145,7 +145,8 @@
           		context.setVariable(exceptionVar,e.getTargetException());
           	} else {
           		throw new JellyTagException("method " + methodName + 
  -            		" threw exception: "+ e.getTargetException().getMessage(), e );
  +            		" threw exception: "+ e.getTargetException().getMessage(), 
  +					e.getTargetException() );
           	}
           }
           finally {
  
  
  
  1.8       +3 -2      jakarta-commons/jelly/src/java/org/apache/commons/jelly/tags/core/InvokeTag.java
  
  Index: InvokeTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jelly/src/java/org/apache/commons/jelly/tags/core/InvokeTag.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- InvokeTag.java	12 Aug 2004 04:25:43 -0000	1.7
  +++ InvokeTag.java	16 Aug 2004 01:59:00 -0000	1.8
  @@ -105,7 +105,8 @@
           		context.setVariable(exceptionVar,e.getTargetException());
           	} else {
           		throw new JellyTagException("method " + methodName + 
  -            		" threw exception: "+ e.getTargetException().getMessage(), e );
  +            		" threw exception: "+ e.getTargetException().getMessage(),
  +				    e.getTargetException() );
           	}
           }
           finally {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message