[ 
https://jira.jboss.org/browse/WELD-575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12545099#action_12545099
 ] 

Pete Muir commented on WELD-575:
--------------------------------

We are going to rearchitect this stuff a bit, it is quite odd right now ;-)

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

        
_______________________________________________
weld-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/weld-issues

Reply via email to