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