001 /* 002 * Generic Queue 003 * $Id: EmptyQueueException.java,v 1.1.1.1 2002/06/05 21:56:32 root Exp $ 004 * 005 * Developed for "Rethinking CS101", a project of Lynn Andrea Stein's AP Group. 006 * For more information, see <a href="http://www.ai.mit.edu/projects/cs101/">the 007 * CS101 homepage</a> or email <las@ai.mit.edu>. 008 * 009 * Copyright (C) 1998 Massachusetts Institute of Technology. 010 * Please do not redistribute without obtaining permission. 011 */ 012 013 package cs101.util.queue; 014 015 /** 016 * EmptyQueueExceptions are thrown when trying to extract data from 017 * an empty Queue. 018 * <p> 019 * Copyright (c) 1998 Massachusetts Institute of Technology 020 * 021 * @see Queue 022 */ 023 public class EmptyQueueException extends RuntimeException { 024 public EmptyQueueException() { super(); } 025 public EmptyQueueException(String msg) { super(msg); } 026 } 027 028 /* 029 * $Log: EmptyQueueException.java,v $ 030 * Revision 1.1.1.1 2002/06/05 21:56:32 root 031 * CS101 comes to Olin finally. 032 * 033 * Revision 1.1 2000/04/24 22:17:18 nathanw 034 * Bulk reorganization 035 * 036 * Revision 1.3 1998/07/24 17:19:25 tparnell 037 * Placate new javadoc behavior 038 * 039 * Revision 1.2 1998/07/17 02:41:47 tparnell 040 * Added some javadoc and logging 041 * 042 */ 043 044 045 046