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

io.github.hiskrtapps.apocalypse.dao.api.exceptions.ColumnNotFoundException Maven / Gradle / Ivy

/*
 * © 2020 Ceppi Productions.
 */
package io.github.hiskrtapps.apocalypse.dao.api.exceptions;

import io.github.hiskrtapps.apocalypse.dao.api.Entity;

/**
 * Exception raised when a Column object is not found using specified parameters
 *
 *
 */
public final class ColumnNotFoundException extends MetadataObjectNotFoundException {

  /**
   * serialize
   */
  private static final long serialVersionUID = -1599452764425874811L;

  /**
   * missing object type
   */
  private static final String OBJECT_TYPE = "Column";

  /**
   * constructor
   * 
   * @param entityClass missing unique constraint belong to
   * @param columnName name of the missing column
   */
  public ColumnNotFoundException(final Class entityClass, final String columnName) {
    super(entityClass, OBJECT_TYPE, columnName);
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy