Turn the database exception into a runtime exception.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 26 Mar 2014 18:44:49 +0000 (19:44 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 26 Mar 2014 18:44:49 +0000 (19:44 +0100)
src/main/java/net/pterodactylus/sone/database/DatabaseException.java

index 43d3e77..6c526ed 100644 (file)
@@ -22,7 +22,7 @@ package net.pterodactylus.sone.database;
  *
  * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
  */
-public class DatabaseException extends Exception {
+public class DatabaseException extends RuntimeException {
 
        /**
         * Creates a new database exception.