[seam-issues] [JBoss JIRA] Commented: (SEAMCATCH-24) Honor the use of HandlesExceptions on a stereotype

Dan Allen (JIRA) jira-events at lists.jboss.org
Mon Jan 3 21:56:18 EST 2011


    [ https://issues.jboss.org/browse/SEAMCATCH-24?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12572816#comment-12572816 ] 

Dan Allen commented on SEAMCATCH-24:
------------------------------------

It turns out Solder already supports this, just not as a single method. Currently, the supported logic is:

if (AnnotationInspector.isAnnotationPresent(type, HandlesExceptions.class, false, bm) ||
      AnnotationInspector.isAnnotationPresent(type, HandlesExceptions.class, true, bm)) {
   ...
}

The false means only look on the element (the type) and the true means only look for it on the stereotypes. I'll enhance Solder to have a more intuitive method.

> Honor the use of HandlesExceptions on a stereotype
> --------------------------------------------------
>
>                 Key: SEAMCATCH-24
>                 URL: https://issues.jboss.org/browse/SEAMCATCH-24
>             Project: Seam Catch
>          Issue Type: Feature Request
>          Components: Core Implementation
>    Affects Versions: 3.0.0.Alpha2
>            Reporter: Dan Allen
>            Assignee: Dan Allen
>            Priority: Minor
>             Fix For: 3.0.0.Alpha4
>
>
> The HandlesExceptions should be permitted on a stereotype so annotations can be consolidated.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the seam-issues mailing list