com.thoughtworks.qdox.parser.ParseException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.apache.servicemix.bundles.qdox
Show all versions of org.apache.servicemix.bundles.qdox
This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar file.
The newest version!
package com.thoughtworks.qdox.parser;
/**
* Thrown to indicate an error during parsing
*/
public class ParseException extends RuntimeException {
private int line;
private int column;
private String errorMessage;
public ParseException(String message, int line, int column) {
errorMessage = message + " @[" + line + "," + column + "] in ";
this.line = line;
this.column = column;
}
public int getLine() {
return line;
}
public int getColumn() {
return column;
}
public void setSourceInfo(String sourceInfo) {
errorMessage += sourceInfo;
}
public String getMessage() {
return errorMessage;
}
}