[
https://issues.apache.org/jira/browse/VELOCITY-751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12798498#action_12798498
]
Willi Schönborn commented on VELOCITY-751:
------------------------------------------
I made a clone of this old issue because there are still a lot of places where
a java.lang.Exception is thrown.
E.g.:
-
http://velocity.apache.org/engine/releases/velocity-1.6.2/apidocs/org/apache/velocity/app/VelocityEngine.html#init(java.util.Properties)
-
http://velocity.apache.org/engine/releases/velocity-1.6.2/apidocs/org/apache/velocity/app/VelocityEngine.html#getTemplate(java.lang.String,%20java.lang.String)
- and many more
> CLONE -Remove "Exception" type throwing.
> ----------------------------------------
>
> Key: VELOCITY-751
> URL: https://issues.apache.org/jira/browse/VELOCITY-751
> Project: Velocity
> Issue Type: Improvement
> Components: Engine
> Environment: NA
> Reporter: Willi Schönborn
> Priority: Trivial
> Fix For: 1.5
>
>
> I have to use Checkstyle coding standards at my job. Some methos of Velocity
> throw exceptions using the raw "Exception" type. So Checkstyle points an
> error everywhere I use Velocity and, unfortunately, that's a fact I cannot
> override in my source code. So it would be nice if those "throws Exception"
> are replaced by some Velocity proper exception.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]