You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2009/02/26 15:27:02 UTC

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

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.


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

Posted by "Gurkan Erdogdu (JIRA)" <ji...@apache.org>.
     [ 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.


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

Posted by "Mark Struberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OWB-80?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Struberg resolved OWB-80.
------------------------------

    Resolution: Fixed

> 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.