summaryrefslogtreecommitdiffstats
path: root/org.aspectj.matcher
diff options
context:
space:
mode:
authoraclement <aclement>2011-03-23 16:22:51 +0000
committeraclement <aclement>2011-03-23 16:22:51 +0000
commitf7a44908e788419368618c6ad6c491b6e34dc0c3 (patch)
tree8a5c0df1bf6c613711559b4bdf1d443140b33f4a /org.aspectj.matcher
parent0ff946aff9ce150707a375437fe7270a5095792f (diff)
downloadaspectj-f7a44908e788419368618c6ad6c491b6e34dc0c3.tar.gz
aspectj-f7a44908e788419368618c6ad6c491b6e34dc0c3.zip
292239
Diffstat (limited to 'org.aspectj.matcher')
-rw-r--r--org.aspectj.matcher/src/org/aspectj/weaver/Advice.java2
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);