[weld-issues] [JBoss JIRA] Updated: (WELD-575) Definition/DeploymentExceptions thrown by an AnnotationModel are wrapped by a ComputationException

Pete Muir (JIRA) jira-events at lists.jboss.org
Fri Oct 15 06:56:46 EDT 2010


     [ https://jira.jboss.org/browse/WELD-575?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pete Muir updated WELD-575:
---------------------------

    Fix Version/s: 1.1.0.CR1
                       (was: 1.1.0.Beta2)


> Definition/DeploymentExceptions thrown by an AnnotationModel are wrapped by a ComputationException
> --------------------------------------------------------------------------------------------------
>
>                 Key: WELD-575
>                 URL: https://jira.jboss.org/browse/WELD-575
>             Project: Weld
>          Issue Type: Feature Request
>          Components: Reflection layer
>    Affects Versions: 1.0.1.Final
>            Reporter: Marius Bogoevici
>            Assignee: Pete Muir
>             Fix For: 1.1.0.CR1
>
>
> If an exception is thrown while evaluating a Function, the exception is wrapped by  a ComputationException. As a result, the exceptions thrown by the AnnotationModel subclasses (Stereotype, InterceptionBinding) - which indicate a definition error detected while parsing the annotation are thrown as ComputationExceptions by the framework.
> An illustration for this can be found in MetaAnnotationStore.getInterceptionBindingModel, although this needs to be done in a more general fashion.

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

        


More information about the weld-issues mailing list