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

Improve javadoc for event-firing methods

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 1.1.PRD
    • 1.0
    • Javadoc and API
    • None
    • Release Notes

      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.

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

                Created:
                Updated:
                Resolved: