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

prompto.problem.IllegalAbstractMethodCallProblem Maven / Gradle / Ivy

The newest version!
package prompto.problem;

import prompto.parser.ICodeSection;

public class IllegalAbstractMethodCallProblem extends SyntaxProblemBase {

	String methodSignature;
	
	public IllegalAbstractMethodCallProblem(ICodeSection section, String methodSignature) {
		super(section);
		this.methodSignature = methodSignature;
	}

	@Override
	public Type getType() {
		return Type.ERROR;
	}
	
	@Override
	public String getMessage() {
		return "Cannot call abstract method: " + methodSignature;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy