import org.mxchange.jcore.client.Client;
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.exceptions.FrameAlreadyInitializedException;
import org.mxchange.jswingcore.client.gui.ClientFrame;
import org.mxchange.jswingcore.model.swing.contact.ContactTableModel;
* @param client Client instance
*/
@Override
- public void setupFrame (final Client client) throws IOException, BadTokenException {
+ public void setupFrame (final Client client) throws IOException {
// Debug line
this.getLogger().trace(MessageFormat.format("client={0}: CALLED!", client)); //NOI18N
// Already added, log away
// TODO maybe output message here?
self.logException(ex);
- } catch (final IOException | BadTokenException ex) {
+ } catch (final IOException ex) {
// Somethind bad happened here
// TODO Output error message here?
}
public void actionPerformed (final ActionEvent e) {
try {
((ManageableAddressbookContact) self.getClient().getManager()).doChangeOwnData();
- } catch (final IOException | BadTokenException | CorruptedDatabaseFileException | SQLException | NoSuchMethodException | IllegalAccessException | InvocationTargetException ex) {
+ } catch (final IOException | SQLException | NoSuchMethodException | IllegalAccessException | InvocationTargetException ex) {
self.logException(ex);
}
}