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

21 lines
441 B
Java
Raw Normal View History

package fr.pandacube.lib.db;
2021-03-21 20:17:31 +01:00
2022-08-01 22:21:04 +02:00
/**
* Exception thrown when something bad happends when using the {@link DB} API.
*/
2021-03-21 20:17:31 +01:00
public class DBException extends Exception {
2022-08-01 22:21:04 +02:00
/* package */ DBException(Throwable initCause) {
super(initCause);
}
2021-03-21 20:17:31 +01:00
2022-08-01 22:21:04 +02:00
/* package */ DBException(String message, Throwable initCause) {
super(message, initCause);
}
2021-03-21 20:17:31 +01:00
2022-08-01 22:21:04 +02:00
/* package */ DBException(String message) {
super(message);
}
2021-03-21 20:17:31 +01:00
}