2022-07-20 13:18:57 +02:00
|
|
|
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);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|