org.drools.compiler
Class FunctionError

java.lang.Object
  extended by org.drools.compiler.DroolsError
      extended by org.drools.compiler.FunctionError

public class FunctionError
extends DroolsError


Constructor Summary
FunctionError(FunctionDescr functionDescr, java.lang.Object object, java.lang.String message)
           
 
Method Summary
 int[] getErrorLines()
          Returns the lines of the error in the source file
 FunctionDescr getFunctionDescr()
           
 java.lang.String getMessage()
          Classes that extend this must provide a printable message, which summarises the error.
 java.lang.Object getObject()
           
 java.lang.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,
                     java.lang.Object object,
                     java.lang.String message)
Method Detail

getFunctionDescr

public FunctionDescr getFunctionDescr()

getObject

public java.lang.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 class DroolsError
Returns:

getMessage

public java.lang.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 java.lang.String toString()
Overrides:
toString in class java.lang.Object