public IndexFormatTooNewException(String resourceDescription, int version, int minVersion, int maxVersion) {super("Format version is not supported (resource " + resourceDescription + "): "+ version + " (needs to be between " + minVersion + " and " + maxVersion + ")");this.resourceDescription = resourceDescription;this.version = version;this.minVersion = minVersion;this.maxVersion = maxVersion;}
public IndexFormatTooNewException(string resourceDesc, int version, int minVersion, int maxVersion): base("Format version is not supported (resource: " + resourceDesc + "): " + version + " (needs to be between " + minVersion + " and " + maxVersion + ")"){Debug.Assert(resourceDesc != null);}