From: chiba Date: Mon, 20 Jun 2005 17:05:57 +0000 (+0000) Subject: minor fixes X-Git-Tag: rel_3_17_1_ga~442 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1ae8f41102ad35c0ddc5a4ab73d0a38434e0d6c8;p=javassist.git minor fixes git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@182 30ef5769-5b8d-40dd-aea6-55b5d6557bb3 --- diff --git a/src/main/javassist/CannotCompileException.java b/src/main/javassist/CannotCompileException.java index 5d2b3223..6151a0f2 100644 --- a/src/main/javassist/CannotCompileException.java +++ b/src/main/javassist/CannotCompileException.java @@ -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); + } + } } diff --git a/src/main/javassist/bytecode/annotation/Annotation.java b/src/main/javassist/bytecode/annotation/Annotation.java index b9c63b9b..e542d8cb 100644 --- a/src/main/javassist/bytecode/annotation/Annotation.java +++ b/src/main/javassist/bytecode/annotation/Annotation.java @@ -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 Bill Burke * @author Shigeru Chiba