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

Stuart Douglas (JIRA) jira-events at lists.jboss.org
Tue Jul 12 19:52:24 EDT 2011


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

Stuart Douglas closed WELD-575.
-------------------------------

    Resolution: Out of Date


This appears to be fixed

> Definition/DeploymentExceptions thrown by an AnnotationModel are wrapped by a ComputationException
> --------------------------------------------------------------------------------------------------
>
>                 Key: WELD-575
>                 URL: https://issues.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.2.Final
>
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list