Please send questions to
st10@humboldt.edu .
/* ListEmptyException.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 ListEmptyException extends Exception
{
public ListEmptyException()
{
// 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("List is empty.");
}
}