[webbeans-issues] [JBoss JIRA] Commented: (WBRI-115) Manager.getContext() doesn't throw ContextNotActiveException for unregistered contexts

Shane Bryzak (JIRA) jira-events at lists.jboss.org
Fri Jan 23 00:59:44 EST 2009


    [ https://jira.jboss.org/jira/browse/WBRI-115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12449385#action_12449385 ] 

Shane Bryzak commented on WBRI-115:
-----------------------------------

The problem seems to be that ContextMap.getContext() is throwing an ExecutionException (which is a RuntimeException) - ManagerImpl.getContext() should probably catch this and rethrow as a ContextNotActiveException().

> Manager.getContext() doesn't throw ContextNotActiveException for unregistered contexts
> --------------------------------------------------------------------------------------
>
>                 Key: WBRI-115
>                 URL: https://jira.jboss.org/jira/browse/WBRI-115
>             Project: Web Beans RI
>          Issue Type: Bug
>    Affects Versions: 1.0.0.ALPHA1
>            Reporter: Shane Bryzak
>             Fix For: 1.0.0.ALPHA2
>
>
> see TCK test org.jboss.webbeans.tck.unit.context.ContextTest.testGetContextWithNoRegisteredContextsFails()

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the weld-issues mailing list