
net.yapbam.data.xml.SaxUnsupportedFileVersionException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of yapbam-commons Show documentation
Show all versions of yapbam-commons Show documentation
Commons Yapbam classes used by desktop and Android versions.
package net.yapbam.data.xml;
import org.xml.sax.Locator;
import org.xml.sax.SAXParseException;
class SaxUnsupportedFileVersionException extends SAXParseException {
private static final long serialVersionUID = 1L;
private final int version;
SaxUnsupportedFileVersionException(Locator locator, int version) {
super ("File is of version "+version+". Expected "+XMLSerializer.CURRENT_VERSION+" or less", locator);
this.version = version;
}
/**
* @return the version
*/
public int getVersion() {
return version;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy