PandaLib/pandalib-db/src/main/java/fr/pandacube/lib/db/DBInitTableException.java

14 lines
512 B
Java
Raw Normal View History

package fr.pandacube.lib.db;
2021-03-21 20:17:31 +01:00
public class DBInitTableException extends DBException {
/* package */ <E extends SQLElement<E>> DBInitTableException(Class<E> tableElem, Throwable t) {
super("Error while initializing table " + ((tableElem != null) ? tableElem.getName() : "null"), t);
}
/* package */ <E extends SQLElement<E>> DBInitTableException(Class<E> tableElem, String message) {
super("Error while initializing table " + ((tableElem != null) ? tableElem.getName() : "null") + ": " + message);
}
}