[cdi-dev] [JBoss JIRA] (CDI-173) Improve javadoc for event-firing methods

Pete Muir (JIRA) jira-events at lists.jboss.org
Thu Oct 11 12:15:04 EDT 2012


    [ https://issues.jboss.org/browse/CDI-173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12725658#comment-12725658 ] 

Pete Muir commented on CDI-173:
-------------------------------

Martin, were you asking a question here? Or?
                
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the cdi-dev mailing list