Jozef Hartinger commented on Task WELD-1348

I agree with your interpretation of the spec. Therefore, for interceptor methods (be it lifecycle event callbacks or not) defined on interceptor classes we should not probably check the throws clause. What I propose to check for interceptor methods defined on an interceptor classes is:

  • return type
  • parameters

and throw a definition exception if validation fails

For target class lifecycle event callbacks I propose:

  • log a warning if the throws clause is specified (as it should not be according to the spec)
  • and throw a definition exception if:
    • return type is wrong
    • parameters are wrong
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
weld-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/weld-issues

Reply via email to