Any person voting at any county or state election who has not registered and taken and subscribed to the registration oath shall be guilty, upon conviction, of a Class B misdemeanor.