Uploaded image for project: 'CDI Specification Issues'
  1. CDI Specification Issues
  2. CDI-173

Improve javadoc for event-firing methods

    XMLWordPrintable

Details

    • Release Notes

    Description

      The spec says

      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.

      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.

      Attachments

        Activity

          People

            pmuiratbleepbleep Pete Muir
            rhn-engineering-jharting Jozef Hartinger
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: