mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-05-14 14:02:49 +00:00
Make sure we only catch specific exceptions instead of catching them all
This commit is contained in:
parent
ebf06aca01
commit
f1a03638a0
33 changed files with 608 additions and 425 deletions
|
@ -0,0 +1,11 @@
|
|||
package me.impy.aegis.db;
|
||||
|
||||
public class DatabaseFileException extends Exception {
|
||||
public DatabaseFileException(Throwable cause) {
|
||||
super(cause);
|
||||
}
|
||||
|
||||
public DatabaseFileException(String message) {
|
||||
super(message);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue