X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2Forg%2Fmxchange%2Faddressbook%2Fclient%2Fgui%2FAddressbookFrame.java;h=7c85fc453cfe705423a3fecd71005d237b981f8b;hb=075a4bae91899f52d74c5b5d511e7004cac950bd;hp=8df0da35d37a9e39fcad164622fca865c7a9723a;hpb=1702a5356aeeb74e7654b96fa253fb3b2050f0a9;p=addressbook-lib.git diff --git a/src/org/mxchange/addressbook/client/gui/AddressbookFrame.java b/src/org/mxchange/addressbook/client/gui/AddressbookFrame.java index 8df0da3..7c85fc4 100644 --- a/src/org/mxchange/addressbook/client/gui/AddressbookFrame.java +++ b/src/org/mxchange/addressbook/client/gui/AddressbookFrame.java @@ -54,8 +54,6 @@ import org.mxchange.addressbook.manager.contact.ManageableAddressbookContact; 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; @@ -212,7 +210,7 @@ public class AddressbookFrame extends BaseAddressbookSystem implements ClientFra * @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 @@ -681,7 +679,7 @@ public class AddressbookFrame extends BaseAddressbookSystem implements ClientFra // 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? } @@ -705,7 +703,7 @@ public class AddressbookFrame extends BaseAddressbookSystem implements ClientFra 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); } }