From: Roland Haeder Date: Mon, 5 Oct 2015 09:44:36 +0000 (+0200) Subject: some minor fixes X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ecd97a25282730fab7d36f60345abbf10a2446f3;p=jaddressbook-lib.git some minor fixes Signed-off-by:Roland Häder --- diff --git a/src/org/mxchange/addressbook/facade/contact/AddressbookContactFacade.java b/src/org/mxchange/addressbook/facade/contact/AddressbookContactFacade.java index 105bec45..67eaacc8 100644 --- a/src/org/mxchange/addressbook/facade/contact/AddressbookContactFacade.java +++ b/src/org/mxchange/addressbook/facade/contact/AddressbookContactFacade.java @@ -27,9 +27,9 @@ import java.util.List; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import org.mxchange.addressbook.client.AddressbookClient; -import org.mxchange.addressbook.exceptions.ContactAlreadyAddedException; import org.mxchange.jcontacts.contact.Contact; import org.mxchange.jcontacts.contact.gender.Gender; +import org.mxchange.jcontacts.exceptions.ContactAlreadyAddedException; import org.mxchange.jcore.client.Client; import org.mxchange.jcore.exceptions.UnhandledUserChoiceException; import org.mxchange.jcore.facade.BaseFacade; @@ -563,7 +563,7 @@ public class AddressbookContactFacade extends BaseFacade implements ContactFacad // Add contact to internal list this.addContact(contact); - } catch (final ContactAlreadyAddedException | IOException ex) { + } catch (final ContactAlreadyAddedException ex) { // Abort here this.abortProgramWithException(ex); }