edu.vub.at.exceptions
Class XArityMismatch
java.lang.Object
java.lang.Throwable
java.lang.Exception
edu.vub.at.exceptions.InterpreterException
edu.vub.at.exceptions.XArityMismatch
- All Implemented Interfaces:
- java.io.Serializable
- public final class XArityMismatch
- extends InterpreterException
XArityMismatch is thrown during function application when actual arguments are bound to formal parameters
and there are either too many or too few actual arguments supplied.
- Author:
- tvc
- See Also:
- Serialized Form
Fields inherited from class java.lang.Throwable |
|
Constructor Summary |
XArityMismatch(java.lang.String funnam,
int numParameters,
int numArguments)
|
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 |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
_TOO_MANY_
private static final java.lang.String _TOO_MANY_
- See Also:
- Constant Field Values
_TOO_FEW_
private static final java.lang.String _TOO_FEW_
- See Also:
- Constant Field Values
XArityMismatch
public XArityMismatch(java.lang.String funnam,
int numParameters,
int numArguments)
- Parameters:
funnam
- the name of the function to be invoked (for debugging purposes only)numParameters
- the number of parameters suppliednumArguments
- the number of arguments supplied
getStripeType
public ATStripe getStripeType()
- Specified by:
getStripeType
in class InterpreterException