]> git.mxchange.org Git - addressbook-swing.git/commitdiff
Not all applications want resource bundles, remove exception as it already exist...
authorRoland Haeder <roland@mxchange.org>
Thu, 6 Aug 2015 09:10:09 +0000 (11:10 +0200)
committerRoland Haeder <roland@mxchange.org>
Thu, 6 Aug 2015 09:10:09 +0000 (11:10 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

Addressbook/src/org/mxchange/addressbook/BaseAddressbookSystem.java
Addressbook/src/org/mxchange/addressbook/exceptions/UnsupportedDatabaseDriverException.java [deleted file]

index 16c49c3ac9d426880b32b385b96cbef3d16233cb..9103d4e5b0ede80b733278fac84323dfccf784cb 100644 (file)
@@ -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 (file)
index 2fa5921..0000000
+++ /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 <http://www.gnu.org/licenses/>.
- */
-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));
-       }
-       
-}