/** * Exception class for access in empty containers * such as stacks, queues, and priority queues. * Would make more sense as a RuntimeException, * but it is a checked exception to illustrate syntax. * @author Mark Allen Weiss */ public class Underflow extends Exception { }