From b76dd4f1d9ea63fa64da934ce62deef982d9a51a Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Thu, 6 Aug 2015 11:10:09 +0200 Subject: [PATCH] =?utf8?q?Not=20all=20applications=20want=20resource=20bun?= =?utf8?q?dles,=20remove=20exception=20as=20it=20already=20exist=20in=20jc?= =?utf8?q?ore=20Signed-off-by:Roland=20H=C3=A4der=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../addressbook/BaseAddressbookSystem.java | 2 + .../UnsupportedDatabaseDriverException.java | 37 ------------------- 2 files changed, 2 insertions(+), 37 deletions(-) delete mode 100644 Addressbook/src/org/mxchange/addressbook/exceptions/UnsupportedDatabaseDriverException.java diff --git a/Addressbook/src/org/mxchange/addressbook/BaseAddressbookSystem.java b/Addressbook/src/org/mxchange/addressbook/BaseAddressbookSystem.java index 16c49c3a..9103d4e5 100644 --- a/Addressbook/src/org/mxchange/addressbook/BaseAddressbookSystem.java +++ b/Addressbook/src/org/mxchange/addressbook/BaseAddressbookSystem.java @@ -28,5 +28,7 @@ public class BaseAddressbookSystem extends BaseFrameworkSystem { * No instances can be created of this class */ protected BaseAddressbookSystem () { + // Always init i18n bundle + this.initBundle(); } } diff --git a/Addressbook/src/org/mxchange/addressbook/exceptions/UnsupportedDatabaseDriverException.java b/Addressbook/src/org/mxchange/addressbook/exceptions/UnsupportedDatabaseDriverException.java deleted file mode 100644 index 2fa59210..00000000 --- a/Addressbook/src/org/mxchange/addressbook/exceptions/UnsupportedDatabaseDriverException.java +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (C) 2015 Roland Haeder - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -package org.mxchange.addressbook.exceptions; - -import java.text.MessageFormat; - -/** - * Thrown when the given driver is not found - * - * @author Roland Haeder - */ -public class UnsupportedDatabaseDriverException extends Exception { - - /** - * Default constructor with driver name - * @param driverName - */ - public UnsupportedDatabaseDriverException (final String driverName) { - // Call super method - super(MessageFormat.format("Database driver {0} is not found.", driverName)); - } - -} -- 2.39.5