refactor: rectify the exception message.