raises a good exception when the token version is unknown
Extract token version to a constant