edu.vub.at.exceptions
Class XArityMismatch

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byedu.vub.at.exceptions.InterpreterException
              extended byedu.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

Field Summary
private static java.lang.String _TOO_FEW_
           
private static java.lang.String _TOO_MANY_
           
private static long serialVersionUID
           
 
Fields inherited from class edu.vub.at.exceptions.InterpreterException
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
XArityMismatch(java.lang.String funnam, int numParameters, int numArguments)
           
 
Method Summary
 ATStripe getStripeType()
           
 
Methods inherited from class edu.vub.at.exceptions.InterpreterException
getAmbientTalkRepresentation, printAmbientTalkStackTrace
 
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
 

Field Detail

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
Constructor Detail

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 supplied
numArguments - the number of arguments supplied
Method Detail

getStripeType

public ATStripe getStripeType()
Specified by:
getStripeType in class InterpreterException