当前页面:
在线文档首页 >
JBoss RULES 4.0.0.11754MR2 API 英文版文档
RuleError (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档
org.drools.compiler
Class RuleError
java.lang.Object
org.drools.compiler.DroolsError
org.drools.compiler.RuleError
public class RuleError
- extends DroolsError
RuleError
public RuleError(Rule rule,
BaseDescr descr,
Object object,
String message)
getRule
public Rule getRule()
getDescr
public BaseDescr getDescr()
getObject
public Object getObject()
getLine
public int getLine()
- This will return the line number of the error, if possible
Otherwise it will be -1
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 class DroolsError
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2001-2007
JBoss Inc.. All Rights Reserved.