code: @SuppressWarnings("unchecked")
  	public static SavepointSerializer<?> getSerializer(int version) {
  		SavepointSerializer<?> serializer = SERIALIZERS.get(version);
  		if (serializer != null) {
  			return serializer;
  		} else {
  			throw new IllegalArgumentException("Cannot restore savepoint version " + version + ".");
  		}
  	}
docs: Returns the {@link SavepointSerializer} for the given savepoint version.
  
  @param version Savepoint version to get serializer for
  @return Savepoint for the given version
  @throws IllegalArgumentException If unknown savepoint version