PicoContainer
  1. PicoContainer
  2. PICO-280

DefaultPicoContainer swallows exceptions and attempts parent container

    Details

    • Type: Improvement Improvement
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.1
    • Fix Version/s: 1.3
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      1

      Description

      DefaultPicocontainer.getInstance() first trys to create a component itself and if an exception is caught it trys to create the component from the parent and silently ignores the exception.

      I do not want this behaviour in my app and I cannot switch it off with a config parameter. If I define a component adapter to be used in a container and it fails I want to know why. The parent container (in a different application scope) gives me the wrong object.

        People

        • Assignee:
          Jörg Schaible
          Reporter:
          John Patterson
        • Votes:
          0 Vote for this issue
          Watchers:
          1 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved: