[cdi-dev] [JBoss JIRA] (CDI-173) Improve javadoc for event-firing methods
Pete Muir (JIRA)
jira-events at lists.jboss.org
Thu Aug 23 18:23:14 EDT 2012
[ https://issues.jboss.org/browse/CDI-173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pete Muir updated CDI-173:
--------------------------
Issue Type: Bug (was: Feature Request)
Assignee: Pete Muir
Fix Version/s: 1.1.PRD
(was: 1.1 (Proposed))
> Improve javadoc for event-firing methods
> ----------------------------------------
>
> Key: CDI-173
> URL: https://issues.jboss.org/browse/CDI-173
> Project: CDI Specification Issues
> Issue Type: Bug
> Components: Javadoc and API
> Affects Versions: 1.0
> Reporter: Jozef Hartinger
> Assignee: Pete Muir
> Priority: Minor
> Fix For: 1.1.PRD
>
>
> The spec says
> {quote}Otherwise, the exception aborts processing of the event. No other observer methods of that event will be called. The
> BeanManager.fireEvent() or Event.fire() method rethrows the exception. If the exception is a checked exception,
> it is wrapped and rethrown as an (unchecked) ObserverException.{quote}
> The JavaDoc for BM.fireEvent() and Event.fire() only mentions IllegalArgumentException. The fact that the ObserverException or any other unchecked exception raised by an observer method is rethrown should be mentioned.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the cdi-dev
mailing list