diff options
author | acolyer <acolyer> | 2005-11-21 08:55:39 +0000 |
---|---|---|
committer | acolyer <acolyer> | 2005-11-21 08:55:39 +0000 |
commit | 5440ef30e462c7cb77dbb75c1f90317ab9edc8a9 (patch) | |
tree | 0dafba56a526c5db04131a83dd0aa05d90e3c886 | |
parent | 522911ec81aeb3ec5b600939d3a2ee6e6297fd0c (diff) | |
download | aspectj-5440ef30e462c7cb77dbb75c1f90317ab9edc8a9.tar.gz aspectj-5440ef30e462c7cb77dbb75c1f90317ab9edc8a9.zip |
no chained exceptions under 1.3...
-rw-r--r-- | weaver/src/org/aspectj/weaver/reflect/ReflectionWorld.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/weaver/src/org/aspectj/weaver/reflect/ReflectionWorld.java b/weaver/src/org/aspectj/weaver/reflect/ReflectionWorld.java index 17a35c562..01b2c6e79 100644 --- a/weaver/src/org/aspectj/weaver/reflect/ReflectionWorld.java +++ b/weaver/src/org/aspectj/weaver/reflect/ReflectionWorld.java @@ -16,6 +16,7 @@ import org.aspectj.bridge.IMessage; import org.aspectj.bridge.IMessageHandler; import org.aspectj.util.LangUtil; import org.aspectj.weaver.Advice; +import org.aspectj.weaver.BCException; import org.aspectj.weaver.ConcreteTypeMunger; import org.aspectj.weaver.Member; import org.aspectj.weaver.ReferenceType; @@ -69,9 +70,9 @@ public class ReflectionWorld extends World { // must be on 1.4 or earlier } catch(IllegalAccessException ex) { // not so good - throw new RuntimeException("AspectJ internal error",ex); + throw new BCException("AspectJ internal error",ex); } catch(InstantiationException ex) { - throw new RuntimeException("AspectJ internal error",ex); + throw new BCException("AspectJ internal error",ex); } } |