net.sourceforge.hivetranse.exception
Class DuplicateKeyException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.hivemind.ApplicationRuntimeException
                  extended by net.sourceforge.hivetranse.exception.DataAccessException
                      extended by net.sourceforge.hivetranse.exception.DataIntegrityException
                          extended by net.sourceforge.hivetranse.exception.DuplicateKeyException
All Implemented Interfaces:
java.io.Serializable, org.apache.hivemind.Locatable

public class DuplicateKeyException
extends DataIntegrityException

Exception class thrown when a statement (insert or update) could not be executed because it would have caused the violation of a unique constraint.

Author:
Jean-Francois Poilpret
See Also:
Serialized Form

Constructor Summary
DuplicateKeyException(java.lang.String message, java.lang.Throwable rootCause)
           
 
Method Summary
 
Methods inherited from class org.apache.hivemind.ApplicationRuntimeException
getCause, getComponent, getLocation, getRootCause, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DuplicateKeyException

public DuplicateKeyException(java.lang.String message,
                             java.lang.Throwable rootCause)