org.drools.compiler.DroolsWarningWrapper Maven / Gradle / Ivy
package org.drools.compiler;
import org.drools.builder.KnowledgeBuilderResult;
public class DroolsWarningWrapper extends DroolsWarning {
KnowledgeBuilderResult backingProblem;
public DroolsWarningWrapper (KnowledgeBuilderResult problem) {
super(problem.getResource());
this.backingProblem = problem;
}
@Override
public String getMessage() {
return backingProblem.getMessage();
}
@Override
public int[] getLines() {
return backingProblem.getLines();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy