/////////////////////////////////////////////////////// // EmptyDequeException.java // // Written By Geoff Knagge (9806135) // last modified 14/8/1999 // // Class to define an exception that is thrown when we // try to access an empty deque. /////////////////////////////////////////////////////// public class EmptyDequeException extends RuntimeException { public EmptyDequeException() { super("Attempted to read from an empty Deque."); } }