]> git.mxchange.org Git - addressbook-lib.git/blobdiff - src/org/mxchange/addressbook/facade/contact/ContactFacade.java
cleanup from previous TDGP
[addressbook-lib.git] / src / org / mxchange / addressbook / facade / contact / ContactFacade.java
index 7b206e867df5b3568e5a044321cf2f5f07d0def5..aac08dd38ba4765b528dd6a9c784a52ca172e2f3 100644 (file)
@@ -17,8 +17,6 @@
 package org.mxchange.addressbook.facade.contact;
 
 import java.io.IOException;
-import java.lang.reflect.InvocationTargetException;
-import java.sql.SQLException;
 import org.mxchange.jcontacts.contact.Contact;
 import org.mxchange.jcontacts.contact.gender.Gender;
 import org.mxchange.jcontacts.exceptions.ContactAlreadyAddedException;
@@ -75,13 +73,8 @@ public interface ContactFacade extends Facade {
        /**
         * Let the user change own data
         * <p>
-        * @throws java.sql.SQLException If an SQL error occurs
-        * @throws java.io.IOException If an IO error occurs
-        * @throws java.lang.NoSuchMethodException If a method cannot be found
-        * @throws java.lang.IllegalAccessException If a method is not accessible
-        * @throws java.lang.reflect.InvocationTargetException Any other problems?
         */
-       public void doChangeOwnData () throws IOException, SQLException, NoSuchMethodException, IllegalAccessException, InvocationTargetException;
+       public void doChangeOwnData ();
 
        /**
         * Let the user delete other address
@@ -94,7 +87,7 @@ public interface ContactFacade extends Facade {
         * @throws org.mxchange.jcontacts.exceptions.ContactAlreadyAddedException If own contact is already added
         * @throws java.io.IOException If an IO error was found
         */
-       public void doEnterOwnData () throws ContactAlreadyAddedException, IOException;
+       public void doEnterOwnData () throws ContactAlreadyAddedException;
 
        /**
         * List all contacts
@@ -227,12 +220,8 @@ public interface ContactFacade extends Facade {
         * @param rowIndex Row index
         * @param columnIndex Column index
         * @return Value from given row/column
-        * @throws java.lang.NoSuchMethodException If the method was not found
-        * @throws java.lang.IllegalAccessException If the accessed method was not public
-        * @throws java.lang.reflect.InvocationTargetException Something else
-        * happened? TODO: This is needed for TableModel in Swing
         */
-       public Object getValueFromRowColumn (final int rowIndex, final int columnIndex) throws NoSuchMethodException, IllegalAccessException, InvocationTargetException;
+       public Object getValueFromRowColumn (final int rowIndex, final int columnIndex);
 
        /**
         * Checks whether own contact is already added by checking all entries for