Created
October 21, 2022 09:52
-
-
Save pdemanget/c5f3fca6baef8eafb049c2ad80372ae4 to your computer and use it in GitHub Desktop.
stacktrace tro string
This file contains hidden or 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
// idiomatism to dump stacktrace | |
StringWriter sw = new StringWriter(); | |
e.printStackTrace(new PrintWriter(sw)); | |
String yourStack = sw.toString() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment