001package io.ebean;
002
003import javax.persistence.PersistenceException;
004
005/**
006 * Thrown when a foreign key constraint is enforced.
007 */
008public class DataIntegrityException extends PersistenceException {
009  private static final long serialVersionUID = -6740171949170180970L;
010
011  /**
012   * Create with a message and cause.
013   */
014  public DataIntegrityException(String message, Throwable cause) {
015    super(message, cause);
016  }
017}