From f7a44908e788419368618c6ad6c491b6e34dc0c3 Mon Sep 17 00:00:00 2001 From: aclement Date: Wed, 23 Mar 2011 16:22:51 +0000 Subject: [PATCH] 292239 --- org.aspectj.matcher/src/org/aspectj/weaver/Advice.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.aspectj.matcher/src/org/aspectj/weaver/Advice.java b/org.aspectj.matcher/src/org/aspectj/weaver/Advice.java index e368fd3c3..706303b39 100644 --- a/org.aspectj.matcher/src/org/aspectj/weaver/Advice.java +++ b/org.aspectj.matcher/src/org/aspectj/weaver/Advice.java @@ -137,7 +137,7 @@ public abstract class Advice extends ShadowMunger { return matches; } else if (hasExtraParameter() && kind == AdviceKind.AfterThrowing) { // pr119749 ResolvedType exceptionType = getExtraParameterType().resolve(world); - if (!exceptionType.isCheckedException()) { + if (!exceptionType.isCheckedException() || exceptionType.getName().equals("java.lang.Exception")) { // pr292239 return true; } UnresolvedType[] shadowThrows = shadow.getSignature().getExceptions(world); -- 2.39.5