public static void checkSerializationVersion() {
    if (serializationVersion == SERIALIZATION_VERSION.vINVALID) {
      throw new IllegalArgumentException(
          "The system property \"gemfire.serializationVersion\" was set to \""
              + serializationVersionTxt
              + "\" which is not a valid serialization version. Valid versions must start with \"6.6.0\", \"6.6.1\", or \"6.6.2\"");
    }
  }
Initializes the optional serialization "accept list" if the user has requested it in the
DistributionConfig

@param config the DistributedSystem configuration
@param services SanctionedSerializablesService that might have classes to acceptlist
geode-core/src/main/java/org/apache/geode/internal/InternalDataSerializer.java