devxlogo

January 4, 2018

Catching to Log in Java

The code below catches the exception to write out a log statement and then re-throws the same exception. It is recommended to let the caller decide if the message should