public class IllegalFunctionCallException extends FormulaCompilationException
Constructor and Description |
---|
IllegalFunctionCallException(Function function,
FunctionParameter parameter,
Expression argument)
Creates a new function call exception.
|
Modifier and Type | Method and Description |
---|---|
Expression |
getArgument()
Returns the argument that failed to match.
|
Function |
getFunction()
Returns the function that was called.
|
String |
getMessage()
Returns a message describing the exception.
|
FunctionParameter |
getParameter()
Returns the parameter that was not matched.
|
String |
toString()
Returns a string representation of the exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public IllegalFunctionCallException(Function function, FunctionParameter parameter, Expression argument)
function
- the function that was calledparameter
- the parameter that was not matchedargument
- the argument that failed to matchpublic Function getFunction()
public FunctionParameter getParameter()
public Expression getArgument()
public String getMessage()
getMessage
in class Throwable
public String toString()
toString
in class FormulaCompilationException