1 package net.sf.cantina.exceptions;
2
3 /***
4 * This exception is thrown when a primary key violation
5 * occurs (i.e. the user is trying to create a new object
6 * with an existing primary key).
7 * @author Stephane JAIS
8 */
9 public class DuplicateKeyException extends CantinaException
10 {
11 public DuplicateKeyException () { super(); }
12 public DuplicateKeyException (String s) { super(s); }
13 public DuplicateKeyException (String s, Exception e) { super(s,e); }
14 }