You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@labs.apache.org by si...@apache.org on 2009/03/26 20:52:17 UTC
svn commit: r758821 -
/labs/magma/trunk/foundation-basics/src/main/java/org/apache/magma/basics/MagmaExceptionChaining.aj
Author: simoneg
Date: Thu Mar 26 19:52:17 2009
New Revision: 758821
URL: http://svn.apache.org/viewvc?rev=758821&view=rev
Log:
LABS-315 : fix pointcut parameters
Modified:
labs/magma/trunk/foundation-basics/src/main/java/org/apache/magma/basics/MagmaExceptionChaining.aj
Modified: labs/magma/trunk/foundation-basics/src/main/java/org/apache/magma/basics/MagmaExceptionChaining.aj
URL: http://svn.apache.org/viewvc/labs/magma/trunk/foundation-basics/src/main/java/org/apache/magma/basics/MagmaExceptionChaining.aj?rev=758821&r1=758820&r2=758821&view=diff
==============================================================================
--- labs/magma/trunk/foundation-basics/src/main/java/org/apache/magma/basics/MagmaExceptionChaining.aj (original)
+++ labs/magma/trunk/foundation-basics/src/main/java/org/apache/magma/basics/MagmaExceptionChaining.aj Thu Mar 26 19:52:17 2009
@@ -7,15 +7,16 @@
* @see LABS-315
*/
public aspect MagmaExceptionChaining {
-
- pointcut creatingLast(MagmaException other) :
- call(MagmaException.new(.., Throwable)) && args(.. , other);
+ pointcut creatingLast(MagmaException other) :
+ call(MagmaException.new(LocalizableString,Throwable)) &&
+ args(LocalizableString, other);
+
pointcut creatingFirst(MagmaException other) :
- call(MagmaException.new(Throwable,..)) && args(other,..);
+ call(MagmaException.new(Throwable, String, Object...)) && args(other,String,Object...);
- pointcut creatingException(MagmaException other) : creatingLast(other) || creatingFirst(other);
+ pointcut creatingException(MagmaException other) : creatingFirst(other) || creatingLast(other);
MagmaException around(MagmaException other) : creatingException(other) {
MagmaException mine = proceed(other);
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@labs.apache.org
For additional commands, e-mail: commits-help@labs.apache.org