package data; /** * Exception thrown when an attempt was made to add an item with a key that already existed in a container. * * @author Steffen Zschaler * @version 2.0 18/08/1999 * @since v0.5 */ public class DuplicateKeyException extends RuntimeException { /** * Create a new DuplicateKeyException. */ public DuplicateKeyException() { super(); } /** * Create a new DuplicateKeyException with a detail message. * * @param sDetail the detail message. */ public DuplicateKeyException (String sDetail) { super (sDetail); } }