[forge-issues] [JBoss JIRA] (FORGE-881) ScopedConfigurationAdapter throws IllegalStateException but API defines IllegalArgumentException should be thrown
George Gastaldi (JIRA)
jira-events at lists.jboss.org
Tue Apr 30 13:41:53 EDT 2013
[ https://issues.jboss.org/browse/FORGE-881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
George Gastaldi updated FORGE-881:
----------------------------------
Status: Closed (was: Pull Request Sent)
Resolution: Done
Merged, thanks !
> ScopedConfigurationAdapter throws IllegalStateException but API defines IllegalArgumentException should be thrown
> -----------------------------------------------------------------------------------------------------------------
>
> Key: FORGE-881
> URL: https://issues.jboss.org/browse/FORGE-881
> Project: Forge
> Issue Type: Bug
> Components: Container
> Reporter: James Perkins
> Assignee: James Perkins
> Priority: Minor
> Fix For: 1.2.4.Final
>
>
> JavaDoc for {{org.jboss.forge.env.Configuration}} indicates:
> {code}
> Get the underlying Configuration instance of the given ConfigurationScope type.
> If no such type is available, throw IllegalArgumentException
> {code}
> The {{org.jboss.forge.shell.env.ScopedConfigurationAdapter}} implementation throws an {{IllegalStateException}}.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the forge-issues
mailing list