]> git.mxchange.org Git - jaddressbook-lib.git/blobdiff - Addressbook/src/org/mxchange/addressbook/database/frontend/contact/AddressbookContactDatabaseFrontend.java
Fixes for missing throws statements (because jcore has changed).
[jaddressbook-lib.git] / Addressbook / src / org / mxchange / addressbook / database / frontend / contact / AddressbookContactDatabaseFrontend.java
index 9b574f3d0390d6757e61b0aa02318cc3818d9ff1..25e2bf87b52a5607f8e320beca802a7b9baaef6b 100644 (file)
@@ -47,8 +47,10 @@ public class AddressbookContactDatabaseFrontend extends BaseDatabaseFrontend imp
         * Constructor which accepts a contact manager
         *
         * @param manager Manager instance
+        * @throws org.mxchange.jcore.exceptions.UnsupportedDatabaseBackendException If the database backend is not supported
+        * @throws java.sql.SQLException If any SQL error occurs
         */
-       public AddressbookContactDatabaseFrontend (final AddressbookContactManager manager) {
+       public AddressbookContactDatabaseFrontend (final AddressbookContactManager manager) throws UnsupportedDatabaseBackendException, SQLException {
                // Call own constructor
                this();
 
@@ -66,7 +68,7 @@ public class AddressbookContactDatabaseFrontend extends BaseDatabaseFrontend imp
        }
 
        /**
-        * Basic constrcutor
+        * Default but protected constructor
         * @throws org.mxchange.jcore.exceptions.UnsupportedDatabaseBackendException If the database backend is not supported
         * @throws java.sql.SQLException Any SQL exception from e.g. MySQL connector
         */
@@ -226,9 +228,11 @@ public class AddressbookContactDatabaseFrontend extends BaseDatabaseFrontend imp
         * Checks whether own contact is found in database
         *
         * @return Whether own contact is found
+        * @throws java.io.IOException If any IO error occurs
+        * @throws org.mxchange.jcore.exceptions.BadTokenException If a bad token was found
         */
        @Override
-       public boolean isOwnContactFound () throws SQLException {
+       public boolean isOwnContactFound () throws SQLException, IOException, BadTokenException {
                // Get search criteria instance
                SearchableCritera critera = new SearchCriteria();