*
* @throws com.github.stephenc.javaisotools.iso9660.ConfigException Invalid or unsupported Interchange Level
*/
public void setInterchangeLevel(int level) throws ConfigException {
if (level < 1 || level > 3) {
throw new ConfigException(this, "Invalid ISO9660 Interchange Level: " + level);
}
if (level == 3) {
throw new ConfigException(this,
"Interchange Level 3 (multiple File Sections per file) is not (yet) supported by this implementation.");
}
ISO9660NamingConventions.INTERCHANGE_LEVEL = level;
}