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