aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/src
diff options
context:
space:
mode:
authoraclement <aclement>2005-05-04 11:03:23 +0000
committeraclement <aclement>2005-05-04 11:03:23 +0000
commit529dacebd3f9fd9eac2ca7caecf3cbadc103e495 (patch)
tree55dbb9dfe29e717496f7138e337460b6a7d1bb52 /runtime/src
parentabc9a58ac59f0ee427039e26cb44952cbef5e24b (diff)
downloadaspectj-529dacebd3f9fd9eac2ca7caecf3cbadc103e495.tar.gz
aspectj-529dacebd3f9fd9eac2ca7caecf3cbadc103e495.zip
hacked out 1.4 apis - needs tidying up but I'm just trying to see if I can get the build to work.
Diffstat (limited to 'runtime/src')
-rw-r--r--runtime/src/org/aspectj/lang/Aspects.java9
1 files changed, 6 insertions, 3 deletions
diff --git a/runtime/src/org/aspectj/lang/Aspects.java b/runtime/src/org/aspectj/lang/Aspects.java
index dd1286365..f3e04e8b7 100644
--- a/runtime/src/org/aspectj/lang/Aspects.java
+++ b/runtime/src/org/aspectj/lang/Aspects.java
@@ -44,7 +44,8 @@ public class Aspects {
try {
return getSingletonOrThreadAspectOf(aspectClass).invoke(null, EMPTY_OBJECT_ARRAY);
} catch (InvocationTargetException e) {
- throw new NoAspectBoundException(aspectClass.getName(), e.getCause());
+ //FIXME asc Highly temporary change to see what the build makes of it - dont use 1.4 APIs
+ throw new NoAspectBoundException(aspectClass.getName(), e);//e.getCause());
} catch (Exception e) {
throw new NoAspectBoundException(aspectClass.getName(), e);
}
@@ -61,7 +62,8 @@ public class Aspects {
try {
return getPerObjectAspectOf(aspectClass).invoke(null, new Object[]{perObject});
} catch (InvocationTargetException e) {
- throw new NoAspectBoundException(aspectClass.getName(), e.getCause());
+ //FIXME asc Highly temporary change to see what the build makes of it - dont use 1.4 APIs
+ throw new NoAspectBoundException(aspectClass.getName(), e);//e.getCause());
} catch (Exception e) {
throw new NoAspectBoundException(aspectClass.getName(), e);
}
@@ -78,7 +80,8 @@ public class Aspects {
try {
return getPerTypeWithinAspectOf(aspectClass).invoke(null, new Object[]{perTypeWithin});
} catch (InvocationTargetException e) {
- throw new NoAspectBoundException(aspectClass.getName(), e.getCause());
+// FIXME asc Highly temporary change to see what the build makes of it - dont use 1.4 APIs
+ throw new NoAspectBoundException(aspectClass.getName(), e);//e.getCause());
} catch (Exception e) {
throw new NoAspectBoundException(aspectClass.getName(), e);
}