import org.mxchange.addressbook.exceptions.ContactAlreadyAddedException;
import org.mxchange.jcore.contact.Contact;
import org.mxchange.jcore.contact.gender.Gender;
-import org.mxchange.jcore.exceptions.BadTokenException;
-import org.mxchange.jcore.exceptions.CorruptedDatabaseFileException;
import org.mxchange.jcore.manager.database.ManageableDatabase;
/**
* Let the user change own data
* @throws java.sql.SQLException If an SQL error occurs
* @throws java.io.IOException If an IO error occurs
- * @throws org.mxchange.jcore.exceptions.BadTokenException Continued throw
- * @throws org.mxchange.jcore.exceptions.CorruptedDatabaseFileException If the database file is damaged
* @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 , BadTokenException, CorruptedDatabaseFileException, SQLException, NoSuchMethodException, IllegalAccessException, InvocationTargetException;
+ public void doChangeOwnData () throws IOException , SQLException, NoSuchMethodException, IllegalAccessException, InvocationTargetException;
/**
* 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, IOException , BadTokenException;
+ public void doEnterOwnData () throws ContactAlreadyAddedException, IOException;
/**
* Searches address book for a contact
*
* @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 () throws IOException, BadTokenException;
+ public boolean isOwnContactAdded () throws IOException;
}