X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=Addressbook%2Fsrc%2Forg%2Fmxchange%2Faddressbook%2Fmanager%2Fcontact%2FManageableAddressbookContact.java;h=77d39d35fca1cf335f2a07e7d1d53073eeb2f917;hb=2747e0cd126be93b127a4bb9508178d74d9df39c;hp=651173090fd804d33dd5d49c3c574f156af8f0c2;hpb=3a5ed167e6e6074ff530c07e6e4dfad9ccfd8077;p=addressbook-swing.git diff --git a/Addressbook/src/org/mxchange/addressbook/manager/contact/ManageableAddressbookContact.java b/Addressbook/src/org/mxchange/addressbook/manager/contact/ManageableAddressbookContact.java index 6511730..77d39d3 100644 --- a/Addressbook/src/org/mxchange/addressbook/manager/contact/ManageableAddressbookContact.java +++ b/Addressbook/src/org/mxchange/addressbook/manager/contact/ManageableAddressbookContact.java @@ -16,9 +16,11 @@ */ package org.mxchange.addressbook.manager.contact; +import java.io.IOException; import org.mxchange.addressbook.exceptions.ContactAlreadyAddedException; import org.mxchange.jcore.contact.Contact; import org.mxchange.jcore.contact.Gender; +import org.mxchange.jcore.exceptions.BadTokenException; import org.mxchange.jcore.manager.database.ManageableDatabase; /** @@ -173,8 +175,10 @@ public interface ManageableAddressbookContact extends ManageableDatabase { /** * Let the user change own data + * @throws java.io.IOException If an IO error was found + * @throws org.mxchange.jcore.exceptions.BadTokenException If a bad token was found */ - public void doChangeOwnData (); + public void doChangeOwnData () throws IOException , BadTokenException; /** * Let the user delete other address @@ -184,8 +188,10 @@ public interface ManageableAddressbookContact extends ManageableDatabase { /** * Asks user for own data * @throws org.mxchange.addressbook.exceptions.ContactAlreadyAddedException If own contact is already added + * @throws java.io.IOException If an IO error was found + * @throws org.mxchange.jcore.exceptions.BadTokenException If a bad token was found */ - public void doEnterOwnData () throws ContactAlreadyAddedException; + public void doEnterOwnData () throws ContactAlreadyAddedException, IOException , BadTokenException; /** * Searches address book for a contact @@ -197,6 +203,8 @@ public interface ManageableAddressbookContact extends ManageableDatabase { * isOwnContact flag * * @return Whether own contact is already added + * @throws java.io.IOException If an IO error occurs + * @throws org.mxchange.jcore.exceptions.BadTokenException If a bad token was found */ - public boolean isOwnContactAdded (); + public boolean isOwnContactAdded () throws IOException, BadTokenException; }