|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
csheets.core.formula.compiler.FormulaCompilationException
csheets.core.formula.compiler.IllegalFunctionCallException
public class IllegalFunctionCallException
An exception that is thrown if an function call with illegal argument count or argument types is encountered during parsing.
| Constructor Summary | |
|---|---|
IllegalFunctionCallException(Function function,
FunctionParameter parameter,
Expression argument)
Creates a new function call exception. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
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 match| Method Detail |
|---|
public Function getFunction()
public FunctionParameter getParameter()
public Expression getArgument()
public String getMessage()
getMessage in class Throwablepublic String toString()
toString in class FormulaCompilationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||