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
Assigned to: Kenneth Tam
Priority: Minor
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