class TimeSeriesVersions {

    public static int check(int version) {
        if (version < 0) {
            throw new IllegalArgumentException("Bad version " + version);
        }
        return version;
    }

    private  TimeSeriesVersions();

}