e.printStackTra ce();
prints to default to System.err by default.
You could use e.printStackTra ce(System.err); if you really wanted.
I'm assuming you changed your output to the following?
e.printStackTra ce();
System.err.prin tln("test:");
If so, just reverse those 2 lines.
prints to default to System.err by default.
You could use e.printStackTra ce(System.err); if you really wanted.
I'm assuming you changed your output to the following?
e.printStackTra ce();
System.err.prin tln("test:");
If so, just reverse those 2 lines.
Comment