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

org.canedata.exception.EntityNotFoundException Maven / Gradle / Ivy

Go to download

Cane is based on the coding behaviour analysis of data manipulation interface to allow coders are close to their habit of thinking of ways to manipulate the data. API definition for Cane.

The newest version!
package org.canedata.exception;

import java.util.Arrays;

public class EntityNotFoundException extends DataAccessException {

	private static final long serialVersionUID = -4936067284305719279L;

	public EntityNotFoundException() {
	}
	
	public EntityNotFoundException(String entityName, String... keys) {
		super("Primary key [" + entityName + "#" + Arrays.toString(keys) + "] don't exists.");
	}

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

	public EntityNotFoundException(String message) {
		super(message);
	}

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy