org.drools.compiler
Class ProcessLoadError
java.lang.Object
org.drools.compiler.DroolsError
org.drools.compiler.ProcessLoadError
- All Implemented Interfaces:
- org.drools.builder.KnowledgeBuilderError
public class ProcessLoadError
- extends DroolsError
This is used for reporting errors with loading a ruleflow.
Method Summary |
int[] |
getErrorLines()
Returns the lines of the error in the source file |
String |
getMessage()
Classes that extend this must provide a printable message,
which summarises the error. |
ProcessLoadError
public ProcessLoadError(String message,
Exception nested)
getErrorLines
public int[] getErrorLines()
- Description copied from class:
DroolsError
- Returns the lines of the error in the source file
- Specified by:
getErrorLines
in interface org.drools.builder.KnowledgeBuilderError
- Specified by:
getErrorLines
in class DroolsError
getMessage
public String getMessage()
- Description copied from class:
DroolsError
- Classes that extend this must provide a printable message,
which summarises the error.
- Specified by:
getMessage
in interface org.drools.builder.KnowledgeBuilderError
- Specified by:
getMessage
in class DroolsError
Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.