Created
August 16, 2017 01:25
-
-
Save sam-irl/c77a9a08229528d7a58692cdb3d8c0de to your computer and use it in GitHub Desktop.
How to parse errors in Java
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) { | |
System.err.println("An error occured! Searching the most complete archive of programming questions and answers ever compiled."); | |
java.awt.Desktop.getDesktop().browse(java.net.URI.create("https://stackoverflow.com/search?q=" + e.getStackTrace())); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment