]> git.mxchange.org Git - addressbook-lib.git/blobdiff - src/org/mxchange/addressbook/client/console/ConsoleClient.java
More cleanup from TDGP usage and towards EJB
[addressbook-lib.git] / src / org / mxchange / addressbook / client / console / ConsoleClient.java
index dd7eee810cd87df5556f12666d8791dd0fb293eb..6b08d12d5f7f0fff74ba6d5208edfa5fc972b002 100644 (file)
@@ -36,10 +36,7 @@ import org.mxchange.addressbook.menu.item.console.ConsoleMenuItem;
 import org.mxchange.jcore.application.Application;
 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.UnhandledUserChoiceException;
-import org.mxchange.jcore.exceptions.UnsupportedDatabaseBackendException;
 
 /**
  * A client for the console
@@ -396,7 +393,7 @@ public class ConsoleClient extends BaseAddressbookClient implements AddressbookC
                                        // TODO throw own exception
                                        throw new UnhandledUserChoiceException(MessageFormat.format("Choice '{0}' not handled yet.", choice)); //NOI18N
                        }
-               } catch (final IOException | BadTokenException | CorruptedDatabaseFileException | SQLException | NoSuchMethodException | IllegalAccessException | InvocationTargetException ex) {
+               } catch (final IOException | SQLException | NoSuchMethodException | IllegalAccessException | InvocationTargetException ex) {
                        // Something bad happened
                        this.abortProgramWithException(ex);
                }
@@ -575,7 +572,7 @@ public class ConsoleClient extends BaseAddressbookClient implements AddressbookC
                // Init contact manager here
                try {
                        this.initContactManager();
-               } catch (final UnsupportedDatabaseBackendException | SQLException ex) {
+               } catch (final SQLException ex) {
                        // End here
                        this.abortProgramWithException(ex);
                }