You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Gurkan Erdogdu (JIRA)" <ji...@apache.org> on 2009/03/16 00:32:50 UTC

[jira] Closed: (OWB-80) according to the spec: Manager#getContext(scope) must throw a ContextNotActiveException if no active context exists.

     [ https://issues.apache.org/jira/browse/OWB-80?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gurkan Erdogdu closed OWB-80.
-----------------------------


> according to the spec: Manager#getContext(scope) must throw a ContextNotActiveException if no active context exists.
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: OWB-80
>                 URL: https://issues.apache.org/jira/browse/OWB-80
>             Project: OpenWebBeans
>          Issue Type: Bug
>          Components: Context and Scopes
>    Affects Versions: M1
>            Reporter: Mark Struberg
>            Assignee: Mark Struberg
>             Fix For: M2
>
>
> According to the Spec: Manager#getContext(scope) must throw a ContextNotActiveException instead of an IllegalArgumentException if no active context exists. This is also true if no such scope like the given one exists in the system!
> TCK test: 
> org.jboss.jsr299.tck.unit.context.ContextTest#testGetContextWithNoRegisteredContextsFails()

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.