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

it.xsemantics.runtime.ResultWithFailure Maven / Gradle / Ivy

There is a newer version: 1.12.1
Show newest version
/**
 * 
 */
package it.xsemantics.runtime;

/**
 * The result of a rule invocation
 * 
 * @author Lorenzo Bettini
 * 
 */
public class ResultWithFailure {

	private RuleFailedException ruleFailedException;

	public ResultWithFailure() {
	}

	public ResultWithFailure(RuleFailedException ruleFailedException) {
		super();
		this.ruleFailedException = ruleFailedException;
	}

	public RuleFailedException getRuleFailedException() {
		return ruleFailedException;
	}

	public boolean failed() {
		return ruleFailedException != null;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy