Uploaded image for project: 'Solder'
  1. Solder
  2. SOLDER-177

The Catch observer should have an @Any qualifier

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 3.0.0.Beta1
    • Component/s: Core
    • Labels:
      None

      Description

      Given that a developer may add a Qualifier to the event that fires the ExceptionToCatch, the Catch observer should have the @Any qualifier to make sure the the Exception is picked up by Catch.

      For example, in the Faces integration, I was firing the event with "beanManager.fireEvent(catchEventm new FacesLiteral());". The presence of this qualifier caused Catch to overlook my Exception. Having the @Any qualifier on the Catch observer would have ensured that my Exception was still forwarded to Catch.

        Gliffy Diagrams

          Activity

          Hide
          lightguard Jason Porter added a comment -

          Done

          Show
          lightguard Jason Porter added a comment - Done

            People

            • Assignee:
              lightguard Jason Porter
              Reporter:
              bleathem Brian Leathem
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development