]> git.mxchange.org Git - jbonuscard-lib.git/commitdiff
some minor fixes
authorRoland Haeder <roland@mxchange.org>
Mon, 5 Oct 2015 09:44:36 +0000 (11:44 +0200)
committerRoland Haeder <roland@mxchange.org>
Mon, 5 Oct 2015 09:44:36 +0000 (11:44 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

src/org/mxchange/addressbook/facade/contact/AddressbookContactFacade.java

index 105bec45ffb3919b4d7b0d8e66039b39f645db8d..67eaacc86ce90553cf250600fc3af3744db558a4 100644 (file)
@@ -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);
                }