1 cananian 1.1.4.1 // DuplicateMemberException.java, created Mon Jan 10 22:11:57 2000 by cananian 2 cananian 1.1.4.2 // Copyright (C) 2000 C. Scott Ananian <cananian@alumni.princeton.edu> 3 cananian 1.1.4.1 // Licensed under the terms of the GNU GPL; see COPYING for details. 4 cananian 1.1.4.1 package harpoon.ClassFile; 5 cananian 1.1.4.1 6 cananian 1.1.4.1 /** 7 cananian 1.1.4.1 * <code>DuplicateMemberException</code> is thrown to indicate an 8 cananian 1.1.4.1 * attempt to add a member to a class already containing a member 9 cananian 1.1.4.1 * of the same name. 10 cananian 1.1.4.1 * 11 cananian 1.1.4.1 * @author C. Scott Ananian <cananian@alumni.princeton.edu> 12 cananian 1.2 * @version $Id: DuplicateMemberException.java,v 1.2 2002/02/25 21:03:01 cananian Exp $ 13 cananian 1.1.4.1 */ 14 cananian 1.1.4.1 public class DuplicateMemberException extends RuntimeException { 15 cananian 1.1.4.1 /** Creates a <code>DuplicateMemberException</code> with the 16 cananian 1.1.4.1 * supplied detail message. */ 17 cananian 1.1.4.1 public DuplicateMemberException(String message) { super(message); } 18 cananian 1.2 }