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

prompto.problem.NotMutableProblem Maven / Gradle / Ivy

The newest version!
package prompto.problem;

import prompto.parser.ICodeSection;

public class NotMutableProblem extends SyntaxProblemBase {

	String message;
	
	public NotMutableProblem(ICodeSection section, String name) {
		super(section);
		this.message = name + " is not mutable";
	}

	@Override
	public Type getType() {
		return Type.ERROR;
	}
	
	@Override
	public String getMessage() {
		return message;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy