Package io.ebean
Class DataIntegrityException
- 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DataIntegrityException(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 Detail
-
DataIntegrityException
public DataIntegrityException(String message, Throwable cause)
Create with a message and cause.
-
-