You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Valentin Mahrwald (JIRA)" <ji...@apache.org> on 2010/04/01 13:04:27 UTC
[jira] Created: (ARIES-273) Blueprint Collaborator can pass checked
exceptions not thrown by intercepted method to interceptors
Blueprint Collaborator can pass checked exceptions not thrown by intercepted method to interceptors
---------------------------------------------------------------------------------------------------
Key: ARIES-273
URL: https://issues.apache.org/jira/browse/ARIES-273
Project: Aries
Issue Type: Bug
Components: Blueprint
Affects Versions: 0.1
Reporter: Valentin Mahrwald
Priority: Minor
Currently, the Collaborator implementation allows the postInvokeWithReturn to throw arbitrary exceptions, which are passed to the postInvokeWithException method by other interceptors (and then thrown on).
There should be a check to make sure the exception thrown matches the exceptions that can be thrown by the intercepted method. This only makes a different with checked Exceptions. If necessary these could be converted to UndeclaredThrowableException (which would be thrown anyway later on by JVM).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.