
org.kohsuke.rngom.binary.RestrictionViolationException Maven / Gradle / Ivy
Go to download
Old JAXB Binding Compiler. Contains source code needed for binding customization files into java sources.
In other words: the *tool* to generate java classes for the given xml representation.
package org.kohsuke.rngom.binary;
import javax.xml.namespace.QName;
import org.xml.sax.Locator;
final class RestrictionViolationException extends Exception {
private String messageId;
private Locator loc;
private QName name;
RestrictionViolationException(String messageId) {
this.messageId = messageId;
}
RestrictionViolationException(String messageId, QName name) {
this.messageId = messageId;
this.name = name;
}
String getMessageId() {
return messageId;
}
Locator getLocator() {
return loc;
}
void maybeSetLocator(Locator loc) {
if (this.loc == null)
this.loc = loc;
}
QName getName() {
return name;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy