|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.drools.compiler.DroolsError
org.drools.compiler.RuleError

| Constructor Summary | |
RuleError(Rule rule,
PatternDescr descr,
java.lang.Object object,
java.lang.String message)
|
|
| Method Summary | |
PatternDescr |
getDescr()
|
int |
getLine()
This will return the line number of the error, if possible Otherwise it will be -1 |
java.lang.String |
getMessage()
Classes that extend this must provide a printable message, which summarises the error. |
java.lang.Object |
getObject()
|
Rule |
getRule()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RuleError(Rule rule,
PatternDescr descr,
java.lang.Object object,
java.lang.String message)
| Method Detail |
public Rule getRule()
public PatternDescr getDescr()
public java.lang.Object getObject()
public int getLine()
public java.lang.String getMessage()
DroolsError
getMessage in class DroolsError
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||