// file: EmptyQueueException.java // author: Robert Keller // purpose: Exception thrown for empty Queue and empty Deque /** * This exception is thrown when an attempt is made to dequeue from * and empty Queue or Deque. */ class EmptyQueueException extends RuntimeException { }