Move the exception inside the try