当前页面:
在线文档首页 >
JBoss RULES 4.0.0.11754MR2 API 英文版文档
FactTemplateError (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档
org.drools.compiler
Class FactTemplateError
java.lang.Object
org.drools.compiler.DroolsError
org.drools.compiler.FactTemplateError
public class FactTemplateError
- extends DroolsError
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FactTemplateError
public FactTemplateError(Package pkg,
BaseDescr descr,
Object object,
String message)
getPackage
public Package getPackage()
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
Copyright © 2001-2007
JBoss Inc.. All Rights Reserved.