|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception de.uni_tuebingen.sfb.lichtenstein.exceptions.FunctionArgumentsMismatchException
public class FunctionArgumentsMismatchException
An exception class for signalling the mismatch of the arguments to a function. For example, because the number of arguments is incorrect.
Constructor Summary | |
---|---|
FunctionArgumentsMismatchException(Formula formula,
Variable variable)
Initialize a new FunctionArgumentsMismatchException with a formula and a variable, indicating the formala does not contain the variable. |
|
FunctionArgumentsMismatchException(Variable[] array1,
Variable[] array2)
Initialize a new FunctionArgumentsMismatchException with two arrays of variables, indicating the arrays do not have the same length. |
|
FunctionArgumentsMismatchException(Variable variable1,
Variable variable2)
Initialize a new FunctionArgumentsMismatchException with two variables, indicating the variables are not of the same type. |
Method Summary | |
---|---|
List<Object> |
getArguments()
Returns the arguments. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FunctionArgumentsMismatchException(Variable[] array1, Variable[] array2)
array1
- The first array.array2
- The second array.public FunctionArgumentsMismatchException(Variable variable1, Variable variable2)
variable1
- The first variable.variable2
- The second variable.public FunctionArgumentsMismatchException(Formula formula, Variable variable)
formula
- The formula.variable
- The variable.Method Detail |
---|
public List<Object> getArguments()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |