/** * Creates a new {@link ConfigurationException} for the given file with the given errors. * * @param location the location of the bad configuration file * @param errors the errors in the file */ public ConfigurationException(String location, Iterable<String> errors) { super(formatMessage(location, errors)); }