[
https://jira.jboss.org/jira/browse/JBAOP-388?page=com.atlassian.jira.plug...
]
Flavia Rainone commented on JBAOP-388:
--------------------------------------
Notice that this feature does not extend to finally advice. The reason for this is that
the use a @Thrown-annotated parameter when there is a @Return-annotated parameter on a
finally advice. The nulity of the @Thrown parameter value indicates whether the value
contained in the @Return-annotated parameter is valid or not. If this parameter is of a
type more spefic than Throwable, this parameter looses this function as I cannot pass, for
example, a RuntimeException to a parameter whose type is IOException.
Allow specification of the exception type for after-throwing advice
-------------------------------------------------------------------
Key: JBAOP-388
URL:
https://jira.jboss.org/jira/browse/JBAOP-388
Project: JBoss AOP
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: Documentation
Reporter: Flavia Rainone
Assignee: Flavia Rainone
Priority: Minor
Fix For: 2.0.0.GA
We need to provide a way for the user to specify an exception type on @Thrown-annotated
advice parameters.
This task includes updating:
- advice validation algorithm
- overloaded advice selection algorithm
- documentation (tutorial, reference manual, etc)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira