Java's e.printStackTrace() doesn't print all the details of the inner exception's stack trace.
Is there a ready way to generate the complete stack trace in string form? (besides formatting it myself)
Edit
I just found out what printStackTrace() does - apparently the stack frames it filters out are exactly the ones common to the inner exception and the outer one. So in fact it is rather what I want, and not the 'full' stack trace.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…