String currSchemaVersion;
while ((currSchemaVersion = bfReader.readLine()) != null) {
upgradeOrderList.add(currSchemaVersion.trim());
}
} catch (FileNotFoundException e) {
throw new SentryUserException("File " + upgradeListFile + "not found ", e);
} catch (IOException e) {
throw new SentryUserException("Error reading " + upgradeListFile, e);
}
sentrySchemaVersions = upgradeOrderList.toArray(new String[0]);
}