summaryrefslogtreecommitdiffstats
path: root/runtime/src
diff options
context:
space:
mode:
authoravasseur <avasseur>2005-04-22 08:55:26 +0000
committeravasseur <avasseur>2005-04-22 08:55:26 +0000
commitb151d1a68ca711696f6f43a5e1ac03ce7b7c5431 (patch)
tree33f7a65819eb5f23c2050fe8de2b14fb8b3ee8bc /runtime/src
parent105a6345ddff474ff95658f59eab6c1c67607ec2 (diff)
downloadaspectj-b151d1a68ca711696f6f43a5e1ac03ce7b7c5431.tar.gz
aspectj-b151d1a68ca711696f6f43a5e1ac03ce7b7c5431.zip
fixing a missing "throw" clause
Diffstat (limited to 'runtime/src')
-rw-r--r--runtime/src/org/aspectj/lang/Aspects.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/src/org/aspectj/lang/Aspects.java b/runtime/src/org/aspectj/lang/Aspects.java
index 2b0c8540c..2f6fa5329 100644
--- a/runtime/src/org/aspectj/lang/Aspects.java
+++ b/runtime/src/org/aspectj/lang/Aspects.java
@@ -85,7 +85,7 @@ public class Aspects {
if (!method.isAccessible()
|| !Modifier.isPublic(method.getModifiers())
|| !Modifier.isStatic(method.getModifiers())) {
- new NoSuchMethodException(aspectClass.getName() + ".aspectOf(..) is not accessible public static");
+ throw new NoSuchMethodException(aspectClass.getName() + ".aspectOf(..) is not accessible public static");
}
return method;
}