Printing the stacktrace

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jkmyoung
    Recognized Expert Top Contributor
    • Mar 2006
    • 2057

    #16
    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.

    Comment

    Working...