Browse Source

fixing a missing "throw" clause

tags/PRE_ANDY
avasseur 19 years ago
parent
commit
b151d1a68c
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      runtime/src/org/aspectj/lang/Aspects.java

+ 1
- 1
runtime/src/org/aspectj/lang/Aspects.java View 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;
}

Loading…
Cancel
Save