net.sourceforge.hivetranse.exception
Class ReferentialIntegrityException

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.ReferentialIntegrityException
All Implemented Interfaces:
java.io.Serializable, org.apache.hivemind.Locatable

public class ReferentialIntegrityException
extends DataIntegrityException

Exception class thrown when a statement (insert, update or delete) could not be executed because it would have caused the violation of a referential constraint (related to a foreign key).

Author:
Jean-Francois Poilpret
See Also:
Serialized Form

Constructor Summary
ReferentialIntegrityException(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

ReferentialIntegrityException

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