Messages.get("mode_version_not_supported"), mode, version));
throw new RuntimeException(String.format(Messages.get("mode_version_not_supported"), mode, version));
}
DocumentValidator check = factory.newInstance(report, path,
resourceProvider, modeMimeTypeMap.get(opsType),
version);
if (check.getClass() == EpubCheck.class)
{
int validationResult = ((EpubCheck)check).doValidate();