java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.persistence.PersistenceException
io.ebean.DataIntegrityException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DuplicateKeyException
public class DataIntegrityException
extends javax.persistence.PersistenceException
Thrown when a foreign key constraint is enforced.
- See Also:
-
Constructor Summary
ConstructorDescriptionDataIntegrityException
(String message, Throwable cause) Create with a message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DataIntegrityException
Create with a message and cause.
-