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

public class StackEmptyException extends Exception
{
    public StackEmptyException()
    {
        // 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("Stack is empty.");
    }
}