Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-1826

ComponentException must be thrown if ComponentFactory.newInstance cannot create a component instance

    XMLWordPrintableJSON

Details

    Description

      If the ComponentFactory.newInstance method cannot create a component instance, null must not be returned but a ComponentException must be thrown as described in Section 112.5.5, Factory Component, of the DS Specification:

      If SCR is unable to satisfy the component
      configuration given the component properties and the Dictionary argument
      to newInstance, the newInstance method must throw a
      ComponentException.

      Attachments

        Activity

          People

            fmeschbe Felix Meschberger
            fmeschbe Felix Meschberger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: