diff options
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/javassist/CannotCompileException.java | 11 | ||||
-rw-r--r-- | src/main/javassist/bytecode/annotation/Annotation.java | 3 |
2 files changed, 14 insertions, 0 deletions
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 <a href="mailto:bill@jboss.org">Bill Burke</a> * @author Shigeru Chiba |