git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@182 30ef5769-5b8d-40dd-aea6-55b5d6557bb3tags/rel_3_17_1_ga
@@ -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); | |||
} | |||
} | |||
} |
@@ -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 |