*/
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;
/**
/**
* 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
/**
* 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
* 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;
}