All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.susom.database.ConstraintViolationException Maven / Gradle / Ivy

package com.github.susom.database;

/**
 * This exception will be thrown when a condition arises that violates
 * a stated invariant regarding the database. This might be a database
 * schema "constraint violated" as thrown by the database, or could be
 * caused by a violation of constraints enforced only within the code.
 */
public class ConstraintViolationException extends DatabaseException {
  public ConstraintViolationException(String message) {
    super(message);
  }

  public ConstraintViolationException(Throwable cause) {
    super(cause);
  }

  public ConstraintViolationException(String message, Throwable cause) {
    super(message, cause);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy