001package io.ebean;
002
003/**
004 * Thrown when a duplicate is attempted on a unique constraint.
005 */
006public class DuplicateKeyException extends DataIntegrityException {
007  private static final long serialVersionUID = -4771932723285724817L;
008
009  /**
010   * Create with a message and cause.
011   */
012  public DuplicateKeyException(String message, Throwable cause) {
013    super(message, cause);
014  }
015}