You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@velocity.apache.org by nb...@apache.org on 2007/08/08 20:51:31 UTC
svn commit: r563978 -
/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/jsp/VelocityViewTag.java
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;