https://www.machinet.net/tutorial-eng/try-and-catch-in-java