diff options
author | aclement <aclement> | 2011-03-23 16:22:51 +0000 |
---|---|---|
committer | aclement <aclement> | 2011-03-23 16:22:51 +0000 |
commit | f7a44908e788419368618c6ad6c491b6e34dc0c3 (patch) | |
tree | 8a5c0df1bf6c613711559b4bdf1d443140b33f4a /org.aspectj.matcher | |
parent | 0ff946aff9ce150707a375437fe7270a5095792f (diff) | |
download | aspectj-f7a44908e788419368618c6ad6c491b6e34dc0c3.tar.gz aspectj-f7a44908e788419368618c6ad6c491b6e34dc0c3.zip |
292239
Diffstat (limited to 'org.aspectj.matcher')
-rw-r--r-- | org.aspectj.matcher/src/org/aspectj/weaver/Advice.java | 2 |
1 files changed, 1 insertions, 1 deletions
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); |