* @throws UnsupportedVersionException
* if JitterPacks were not supported in the specified version.
*/
static JitterPackFormat getFormat(Version version, JitterPackParameters params) throws UnsupportedVersionException {
if (version.isEarlierThan(FIRST_VERSION_SUPPORTED)) {
throw new UnsupportedVersionException(version, "The minimum version required is "
+ FIRST_VERSION_SUPPORTED.toString());
}
if (version.isEarlierThan(Versions.V_1_1_0)) {
throw new UnsupportedOperationException("The version " + version.getPatchLevelString()
+ " is no longer supported.");