站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > 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
  extended by org.drools.compiler.DroolsError
      extended by org.drools.compiler.FactTemplateError

public class FactTemplateError
extends DroolsError


Constructor Summary
FactTemplateError(Package pkg, BaseDescr descr, Object object, String message)
           
 
Method Summary
 BaseDescr getDescr()
           
 int getLine()
          This will return the line number of the error, if possible Otherwise it will be -1
 String getMessage()
          Classes that extend this must provide a printable message, which summarises the error.
 Object getObject()
           
 Package getPackage()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FactTemplateError

public FactTemplateError(Package pkg,
                         BaseDescr descr,
                         Object object,
                         String message)
Method Detail

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.