According to my exp, here need to call e.printstacktrace() once, otherwise, there will no stack info printed by e.toString().