net.sourceforge.hivetranse.exception
Class DataIntegrityException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.hivemind.ApplicationRuntimeException
net.sourceforge.hivetranse.exception.DataAccessException
net.sourceforge.hivetranse.exception.DataIntegrityException
- All Implemented Interfaces:
- java.io.Serializable, org.apache.hivemind.Locatable
- Direct Known Subclasses:
- DuplicateKeyException, ReferentialIntegrityException
public class DataIntegrityException
- extends DataAccessException
Exception class thrown when a statement (insert, update or delete) could not
be executed because it would have caused the violation of a datastore
constraint (any kind of constraint such as null not allowed, string too long,
referred row does not exist, duplicate key...)
This exception has various subclasses specific to given constraints.
- Author:
- Jean-Francois Poilpret
- See Also:
- Serialized Form
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 |
DataIntegrityException
public DataIntegrityException(java.lang.String message,
java.lang.Throwable rootCause)