Throw exception on unknown tokens.