From: Roland Haeder Date: Thu, 6 Aug 2015 09:10:09 +0000 (+0200) Subject: Not all applications want resource bundles, remove exception as it already exist... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b76dd4f1d9ea63fa64da934ce62deef982d9a51a;p=jbonuscard-lib.git Not all applications want resource bundles, remove exception as it already exist in jcore Signed-off-by:Roland Häder --- diff --git a/Addressbook/src/org/mxchange/addressbook/BaseAddressbookSystem.java b/Addressbook/src/org/mxchange/addressbook/BaseAddressbookSystem.java index 16c49c3..9103d4e 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 2fa5921..0000000 --- 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)); - } - -}