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

Ales Justin (JIRA) jira-events at lists.jboss.org
Tue Apr 5 10:49:42 EDT 2011


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

Ales Justin updated WELD-575:
-----------------------------

    Fix Version/s: 1.2.0.Beta1
                       (was: 1.1.1.Final)


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