net.sf.cantina.exceptions
Class DuplicateKeyException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bynet.sf.cantina.exceptions.CantinaException
              extended bynet.sf.cantina.exceptions.DuplicateKeyException
All Implemented Interfaces:
java.io.Serializable

public class DuplicateKeyException
extends CantinaException

This exception is thrown when a primary key violation occurs (i.e. the user is trying to create a new object with an existing primary key).

Author:
Stephane JAIS
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.lang.Exception
 
Constructor Summary
DuplicateKeyException()
           
DuplicateKeyException(java.lang.String s)
           
DuplicateKeyException(java.lang.String s, java.lang.Exception e)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DuplicateKeyException

public DuplicateKeyException()

DuplicateKeyException

public DuplicateKeyException(java.lang.String s)

DuplicateKeyException

public DuplicateKeyException(java.lang.String s,
                             java.lang.Exception e)


Copyright © 2004 Cantina. All Rights Reserved.