velocity-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nbu...@apache.org
Subject svn commit: r563978 - /velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/jsp/VelocityViewTag.java
Date Wed, 08 Aug 2007 18:51:31 GMT
Author: nbubna
Date: Wed Aug  8 11:51:29 2007
New Revision: 563978

URL: http://svn.apache.org/viewvc?view=rev&rev=563978
Log:
exceptions aren't any good if we don't throw them (FindBugs again)

Modified:
    velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/jsp/VelocityViewTag.java

Modified: velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/jsp/VelocityViewTag.java
URL: http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/jsp/VelocityViewTag.java?view=diff&rev=563978&r1=563977&r2=563978
==============================================================================
--- velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/jsp/VelocityViewTag.java
(original)
+++ velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/jsp/VelocityViewTag.java
Wed Aug  8 11:51:29 2007
@@ -169,8 +169,8 @@
             }
             catch (Exception e)
             {
-                new JspException("Failed to render " + getClass() +
-                                 ": "+getId(), e);
+                throw new JspException("Failed to render " + getClass() +
+                                       ": "+getId(), e);
             }
         }
         return EVAL_PAGE;



Mime
View raw message