// file: argumentTypeException.java // author: Robert Keller // purpose: exception for Poly package Poly; import java.io.*; import java.lang.*; import java.util.*; /** * argumentTypeException indicates a variable which is of the wrong type * for an operator **/ public class argumentTypeException extends Exception { public Object arg; public String classString; public argumentTypeException(Object arg, String classString) { this.arg = arg; this.classString = classString; } }