Maths
Class WrongNumberOfVariables

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by Maths.WrongNumberOfVariables
All Implemented Interfaces:
java.io.Serializable

public class WrongNumberOfVariables
extends java.lang.Exception

Exception that is thrown if a function is passed the wrong number of variables

Version:
1.0
See Also:
Serialized Form

Constructor Summary
WrongNumberOfVariables(java.lang.String name, int wanted, int found)
          Default constrcutor
 
Method Summary
 
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

WrongNumberOfVariables

public WrongNumberOfVariables(java.lang.String name,
                              int wanted,
                              int found)
Default constrcutor

Parameters:
name - The name of the function
wanted - The number of variables the function takes
found - The number of variables that were actually passed