org.canedata.exception.EntityNotFoundException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cane-api Show documentation
Show all versions of cane-api Show documentation
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);
}
}