Change the exception's message after the check modification