001 /* 002 * ChannelFullException.java 003 * 004 * Developed for the "Rethinking CS101" project. See http://www.cs101.org, the 005 * CS101 homepage or email las@olin.edu. 006 * 007 * Please do not redistribute without obtaining permission. 008 */ 009 010 package nodenet; 011 012 import java.io.*; 013 014 /** 015 * Signals that a Channel is full when attempted to write to it.<p> 016 * 017 * Copyright (c) 1998 Massachusetts Institute of Technology 018 * 019 * @author Todd C. Parnell, tparnell@ai.mit.edu 020 * @version $Id: ChannelFullException.java,v 1.3 2004/01/14 21:43:17 gus Exp $ 021 */ 022 public class ChannelFullException extends IOException { 023 024 /** 025 * Constructs an instance of ChannelDisabledException without a 026 * detail message. 027 */ 028 public ChannelFullException() { super(); } 029 030 /** 031 * Constructs an instance of ChannelDisabledException with the 032 * specified detail message. A detail message is an instace of 033 * <code>String</code> that describes this particular exception. 034 * 035 * @param s the detail message 036 */ 037 public ChannelFullException(String s) { super(s); } 038 } 039 040 /* 041 * $Log: ChannelFullException.java,v $ 042 * Revision 1.3 2004/01/14 21:43:17 gus 043 * more javadoc, plus reformat 044 * 045 * Revision 1.2 2004/01/14 20:23:21 gus 046 * Javadoc and comment cleanup 047 * 048 * Revision 1.1 2002/06/13 17:33:21 gus 049 * Moved all java files into the nodenet directory (who let them out anyway?) 050 * 051 * Revision 1.1.1.1 2002/06/05 21:56:35 root 052 * CS101 comes to Olin finally. 053 * 054 * Revision 1.4 2000/05/09 06:03:54 mharder 055 * Changed packagename from nodeNet to nodenet. 056 * 057 * Revision 1.3 1999/08/04 09:08:50 jsmthng 058 * Added javadoc comments to InputChannelVector and OutputChannelVector; 059 * finished updating the rest of the nodeNet package to reflect new 060 * changes in name and code. 061 * 062 * Modified index.html to reflect the new nodeNet code, as well as to 063 * clarify some parts of the problem set. 064 * 065 * Revision 1.1 1999/07/30 01:09:19 jsmthng 066 * Renaming BinSort package to nodeNet; moving directories and files as 067 * necessary. 068 * 069 * Revision 1.3 1998/08/12 19:29:30 tparnell 070 * Another pass after comments from las & natashao. Added support to 071 * dynamically add NodeBehaviors. Add keyboard shortcuts to menus. Added 072 * workaround to jdk bug relating to lighweight components. Misc other 073 * bugfixes. 074 * 075 * Revision 1.3 1998/08/10 17:45:50 tparnell 076 * Revision to use JDK1.2 and Swing. Redesign of GUI. Removed old kludge 077 * for file I/O and replaced with object serialization. Channel no longer 078 * requires animacy. Removed unnessary dependencies between classes. 079 * Added ability to configure channel's latency and capacity. Added 080 * javadoc to all files. General code cleanup. 081 * 082 */