Please send questions to st10@humboldt.edu .
/* ListIndexOutOfBoundsException.java 1.0                 */
/* Adapted by Sharon M. Tuttle from an example on p. 55   */
/*    of "Java Precisely", Sestoft                        */
/* last modified: 3-7-03                                  */

public class ListIndexOutOfBoundsException extends Exception
{
    public ListIndexOutOfBoundsException(int badIndex)
    {
        // acc to "Java Precisely", p. 55: "Passing a string to the
        // constructor of the superclass (that is, class Exception)
        // causes method toString to append that string to the
        // name of the exception."
        super("Illegal index:" + badIndex);
    }
}