From: David ‘Bombe’ Roden Date: Wed, 12 Oct 2011 18:52:57 +0000 (+0200) Subject: Turn database exception into an unchecked exception. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=8e5480a67320badd67a16787bac71d2a99f44b8f;p=Sone.git Turn database exception into an unchecked exception. --- diff --git a/src/main/java/net/pterodactylus/sone/database/DatabaseException.java b/src/main/java/net/pterodactylus/sone/database/DatabaseException.java index fb069c1..0f4a46f 100644 --- a/src/main/java/net/pterodactylus/sone/database/DatabaseException.java +++ b/src/main/java/net/pterodactylus/sone/database/DatabaseException.java @@ -17,14 +17,13 @@ package net.pterodactylus.sone.database; -import net.pterodactylus.sone.core.SoneException; /** * Exception that signals an error working with the database. * * @author David ‘Bombe’ Roden */ -public class DatabaseException extends SoneException { +public class DatabaseException extends RuntimeException { /** * Creates a new database exception.