static final int MIN_ALLOWED_VERSION = MetaDataUtil.encodeVersion("0.94.5");

    if (MetaDataUtil.encodeVersion(theVersion) < MIN_ALLOWED_VERSION) {
        throw new YourOutOfLuckException();
    }