in text-translators-agent/src/jetbrains/buildServer/agent/messages/regex/RegexParsersHelper.java [17:28]
public static RegexParser loadParserFromFile(@NotNull final File file) throws FileNotFoundException, ParserLoadingException {
if (file.exists() && file.isFile()) {
FileInputStream fis = null;
try {
fis = new FileInputStream(file);
return ParserLoader.loadParser(fis);
} finally {
FileUtil.close(fis);
}
}
throw new FileNotFoundException(file.getAbsolutePath());
}