Created
August 28, 2015 15:56
-
-
Save Mr-Kumar-Abhishek/03e2f364e2db2125aa0d to your computer and use it in GitHub Desktop.
print stack trace exception in stdout rather than stderr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
catch(Exception e) { | |
e.printStackTrace(System.out); | |
} |
It only prints out stack trace in stdout instead of stderr , you could check them in stderr also..
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
is this how stack trace is done?