All Downloads are FREE. Search and download functionalities are using the official Maven repository.

it.uniroma2.art.coda.exception.parserexception.PRParamToReplaceException Maven / Gradle / Ivy

There is a newer version: 2.0.2
Show newest version
package it.uniroma2.art.coda.exception.parserexception;


public class PRParamToReplaceException extends PRParserException {

	private String msg ;

	private int line;
	
	private static final long serialVersionUID = 1L;

	/*public PRParamToReplaceException(RecognitionException e) {
		super();
		recognitionException = e;
	}*/
	
	public PRParamToReplaceException(int  line) {
		super();
		this.line = line;
		this.msg = "Found a parameter that has to be replaced at line: "+line;
	}
	

	@Override
	public String getErrorAsString() {
		return msg;
	}
	
	public int getLine() {
		return line;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy