Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-2981

An observer throwing an exception stops the notification process

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 4.1.10, 4.2.0
    • None
    • None
    • None
    • 4.2 M10

      In ObservationManager.notify, the observers are notified synchronously and successively. If an exception isn't caught in the Observer.observe method, the notification process fails and the following observers are never called.

      I think observers should not be required to catch all exceptions themselves: a try-catch (Exception) block should be added around the observe call.

            Unassigned Unassigned
            ngavalda Nicolas Gavalda (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: