]> source.dussan.org Git - javassist.git/commitdiff
minor fixes
authorchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>
Mon, 20 Jun 2005 17:05:57 +0000 (17:05 +0000)
committerchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>
Mon, 20 Jun 2005 17:05:57 +0000 (17:05 +0000)
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@182 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

src/main/javassist/CannotCompileException.java
src/main/javassist/bytecode/annotation/Annotation.java

index 5d2b32233b780066852744f854e3e520f682ce49..6151a0f2d6f2d3613579474c349d2e407eb0c322 100644 (file)
@@ -106,4 +106,15 @@ public class CannotCompileException extends Exception {
             cause.printStackTrace(w);
         }
     }
+
+    /**
+     * Prints this exception and its backtrace.
+     */
+    public void printStackTrace(java.io.PrintStream w) {
+        super.printStackTrace(w);
+        if (cause != null) {
+            w.println("Caused by:");
+            cause.printStackTrace(w);
+        }
+    }
 }
index b9c63b9be87b91b1344996f97fa821bddd9b649e..e542d8cb0bf3b9b0a8c176c425b6b04d2638b863 100644 (file)
@@ -34,6 +34,9 @@ import java.util.Iterator;
  *
  * @see javassist.bytecode.AnnotationsAttribute#getAnnotations()
  * @see javassist.bytecode.ParameterAnnotationsAttribute#getAnnotations()
+ * @see MemberValue
+ * @see MemberValueVisitor
+ * @see AnnotationsWriter
  *
  * @author <a href="mailto:bill@jboss.org">Bill Burke</a>
  * @author Shigeru Chiba