Last active
December 17, 2018 21:24
-
-
Save mchmielarz/369b5e1a85df59fb2049a52b5b98f6ca to your computer and use it in GitHub Desktop.
Old, "good" way to handle exceptions
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
try { | |
database.start(); | |
fetchMeasurements(geoCoordinatesReader, airlyService, measurementsRepository); | |
} catch (SQLException exc) { | |
log.error("Cannot start the database", exc); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment