diff options
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/src/org/aspectj/lang/Aspects.java | 2 |
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; } |