The updateSync() method should not care about the the exception handling itself as this is done in the calling method. Please remove the try/catch and the logging in the catch block again. Sorry for that :-(