diff options
author | chiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3> | 2005-06-20 17:05:57 +0000 |
---|---|---|
committer | chiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3> | 2005-06-20 17:05:57 +0000 |
commit | 1ae8f41102ad35c0ddc5a4ab73d0a38434e0d6c8 (patch) | |
tree | c67c8ea485814f3efbe758a78f056757dbbb10eb | |
parent | ee8265e79f1e6c4f399abbca73c3174e68e83cc0 (diff) | |
download | javassist-1ae8f41102ad35c0ddc5a4ab73d0a38434e0d6c8.tar.gz javassist-1ae8f41102ad35c0ddc5a4ab73d0a38434e0d6c8.zip |
minor fixes
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@182 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
-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 |