Turn database exception into an unchecked exception.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 12 Oct 2011 18:52:57 +0000 (20:52 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 30 May 2012 07:22:51 +0000 (09:22 +0200)
src/main/java/net/pterodactylus/sone/database/DatabaseException.java

index fb069c1..0f4a46f 100644 (file)
 
 package net.pterodactylus.sone.database;
 
-import net.pterodactylus.sone.core.SoneException;
 
 /**
  * Exception that signals an error working with the database.
  *
  * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
  */
-public class DatabaseException extends SoneException {
+public class DatabaseException extends RuntimeException {
 
        /**
         * Creates a new database exception.