From: David ‘Bombe’ Roden Date: Tue, 29 Jul 2014 15:41:22 +0000 (+0200) Subject: Remove unused exception constructors. X-Git-Tag: 0.9-rc1^2~3^2~204 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=71fa807f49abd2ee345694b0e368e31009c2d642;p=Sone.git Remove unused exception constructors. --- diff --git a/src/main/java/net/pterodactylus/sone/core/SoneException.java b/src/main/java/net/pterodactylus/sone/core/SoneException.java index f1af354..2b1f1de 100644 --- a/src/main/java/net/pterodactylus/sone/core/SoneException.java +++ b/src/main/java/net/pterodactylus/sone/core/SoneException.java @@ -26,23 +26,6 @@ public class SoneException extends Exception { /** * Creates a new Sone exception. - */ - public SoneException() { - super(); - } - - /** - * Creates a new Sone exception. - * - * @param message - * The message of the exception - */ - public SoneException(String message) { - super(message); - } - - /** - * Creates a new Sone exception. * * @param cause * The cause of the exception diff --git a/src/main/java/net/pterodactylus/sone/core/SoneInsertException.java b/src/main/java/net/pterodactylus/sone/core/SoneInsertException.java index 5c3f7cd..f67f093 100644 --- a/src/main/java/net/pterodactylus/sone/core/SoneInsertException.java +++ b/src/main/java/net/pterodactylus/sone/core/SoneInsertException.java @@ -26,33 +26,6 @@ public class SoneInsertException extends SoneException { /** * Creates a new Sone insert exception. - */ - public SoneInsertException() { - super(); - } - - /** - * Creates a new Sone insert exception. - * - * @param message - * The message of the exception - */ - public SoneInsertException(String message) { - super(message); - } - - /** - * Creates a new Sone insert exception. - * - * @param cause - * The cause of the exception - */ - public SoneInsertException(Throwable cause) { - super(cause); - } - - /** - * Creates a new Sone insert exception. * * @param message * The message of the exception