]> source.dussan.org Git - aspectj.git/commitdiff
fixing a missing "throw" clause
authoravasseur <avasseur>
Fri, 22 Apr 2005 08:55:26 +0000 (08:55 +0000)
committeravasseur <avasseur>
Fri, 22 Apr 2005 08:55:26 +0000 (08:55 +0000)
runtime/src/org/aspectj/lang/Aspects.java

index 2b0c8540ce705b40b53b0560a47cf553b044e431..2f6fa53299c4498c300d8758f16d47ca81beff70 100644 (file)
@@ -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;
     }