Module io.ebean.api
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:
  • Constructor Details

    • DataIntegrityException

      public DataIntegrityException(String message, Throwable cause)
      Create with a message and cause.