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

Marius Bogoevici (JIRA) jira-events at lists.jboss.org
Fri Jul 30 14:01:49 EDT 2010


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