]> source.dussan.org Git - javassist.git/commitdiff
removed an unnecessary throws.
authorchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>
Fri, 13 Jul 2007 15:11:21 +0000 (15:11 +0000)
committerchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>
Fri, 13 Jul 2007 15:11:21 +0000 (15:11 +0000)
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@395 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

src/main/javassist/CtMember.java

index 16ccc536aa750803214fac175d431dfc7dca9f1b..9c1406a2b12c07435021cbad8ad423e9b9e0b9ae 100644 (file)
@@ -32,8 +32,7 @@ public abstract class CtMember {
         public Object[] getAnnotations()
             throws ClassNotFoundException { return null; }
         public byte[] getAttribute(String name) { return null; }
-        public Object[] getAvailableAnnotations()
-            throws ClassNotFoundException { return null; }
+        public Object[] getAvailableAnnotations() { return null; }
         public int getModifiers() { return 0; }
         public String getName() { return null; }
         public String getSignature() { return null; }
@@ -225,9 +224,7 @@ public abstract class CtMember {
      * @see CtClass#getAvailableAnnotations()
      * @since 3.3
      */
-    public abstract Object[] getAvailableAnnotations()
-        throws ClassNotFoundException;
-
+    public abstract Object[] getAvailableAnnotations();
 
     /**
      * Obtains the name of the member.