You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Mark Struberg (Resolved) (JIRA)" <ji...@apache.org> on 2011/10/14 21:58:12 UTC
[jira] [Resolved] (OWB-623) Relax check on @AroundInvoke
Interceptors 'throws Exception'
[ https://issues.apache.org/jira/browse/OWB-623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Struberg resolved OWB-623.
-------------------------------
Resolution: Fixed
resolved in r1183476.
> Relax check on @AroundInvoke Interceptors 'throws Exception'
> -------------------------------------------------------------
>
> Key: OWB-623
> URL: https://issues.apache.org/jira/browse/OWB-623
> Project: OpenWebBeans
> Issue Type: Improvement
> Components: Interceptor and Decorators
> Affects Versions: 1.1.1
> Reporter: Mark Struberg
> Assignee: Mark Struberg
> Fix For: 1.1.2
>
>
> Currently we pretty strictly check that @AroundInvoke interceptors have the method signature exactly as declared in the Interceptors spec. Thus all @AroundInvoke methods need to declare 'throws Exception'.
> We might relax this check because in practice this makes no difference and a lot Interceptors actually don't throw checked Exceptions at all.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira