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