org.drools.compiler
Class FunctionError

java.lang.Object
  extended by org.drools.compiler.DroolsError
      extended by org.drools.compiler.FunctionError
All Implemented Interfaces:
org.drools.builder.KnowledgeBuilderError

public class FunctionError
extends DroolsError


Constructor Summary
FunctionError(FunctionDescr functionDescr, Object object, String message)
           
 
Method Summary
 int[] getErrorLines()
          Returns the lines of the error in the source file
 FunctionDescr getFunctionDescr()
           
 String getMessage()
          Classes that extend this must provide a printable message, which summarises the error.
 Object getObject()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FunctionError

public FunctionError(FunctionDescr functionDescr,
                     Object object,
                     String message)
Method Detail

getFunctionDescr

public FunctionDescr getFunctionDescr()

getObject

public Object getObject()

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

toString

public String toString()
Overrides:
toString in class DroolsError


Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.