[ http://issues.apache.org/jira/browse/BEEHIVE-270?page=history ]
Steve Tocco updated BEEHIVE-270:
--------------------------------
Fix Version: V1
moving to v1 (if not needed for ship, please move to Fix For = TBD)
> Validate event handler exceptions against event declaration signature
> ---------------------------------------------------------------------
>
> Key: BEEHIVE-270
> URL: http://issues.apache.org/jira/browse/BEEHIVE-270
> Project: Beehive
> Type: Bug
> Components: Controls
> Versions: V1Alpha
> Reporter: Kenneth Tam
> Assignee: Kenneth Tam
> Priority: Minor
> Fix For: V1
>
> Do tighter validation of declared exceptions on an event handler... they
> can't throw any check exception not declared on the associated event. For
> example if the event is declared:
> public void onCreate();
> then the following is illegal:
> @EventHandler( field="x", event="onCreate" )
> public void handleOnCreate() throws Exception
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira