Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-881

ScopedConfigurationAdapter throws IllegalStateException but API defines IllegalArgumentException should be thrown

    XMLWordPrintable

Details

    Description

      JavaDoc for org.jboss.forge.env.Configuration indicates:

      Get the underlying Configuration instance of the given ConfigurationScope type. 
      If no such type is available, throw IllegalArgumentException
      

      The org.jboss.forge.shell.env.ScopedConfigurationAdapter implementation throws an IllegalStateException.

      Attachments

        Activity

          People

            jperkins-rhn James Perkins
            jperkins-rhn James Perkins
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: