]> git.mxchange.org Git - jfinancials-war.git/commitdiff
Please cherry-pick
authorRoland Häder <roland@mxchange.org>
Tue, 25 Jul 2017 19:26:30 +0000 (21:26 +0200)
committerRoland Häder <roland@mxchange.org>
Tue, 25 Jul 2017 19:27:06 +0000 (21:27 +0200)
- opps, wrong renaming here

Signed-off-by: Roland Häder <roland@mxchange.org>
src/java/org/mxchange/jfinancials/beans/contact/FinancialsContactWebSessionBean.java
src/java/org/mxchange/jfinancials/beans/contact/FinancialsContactWebSessionController.java

index 09d01d0d04dae8c7358515c2ca6fa3f0ae8bdbec..564f224f319c93f1aacdcfb6038f0a4e0d0a50ab 100644 (file)
@@ -39,7 +39,7 @@ import org.mxchange.jcontacts.contact.UserContact;
 import org.mxchange.jcontacts.contact.title.PersonalTitle;
 import org.mxchange.jcontacts.events.contact.add.ObservableAdminAddedContactEvent;
 import org.mxchange.jcontacts.events.contact.update.ObservableAdminUpdatedContactEvent;
-import org.mxchange.jcontactsbusiness.exceptions.BusinessDataNotFoundException;
+import org.mxchange.jcontacts.exceptions.ContactNotFoundException;
 import org.mxchange.jcountry.data.Country;
 import org.mxchange.jfinancials.beans.BaseFinancialsController;
 import org.mxchange.jfinancials.beans.user.FinancialsUserWebSessionController;
@@ -931,7 +931,7 @@ public class FinancialsContactWebSessionBean extends BaseFinancialsController im
        }
 
        @Override
-       public Contact lookupContactById (final Long contactId) throws BusinessDataNotFoundException {
+       public Contact lookupContactById (final Long contactId) throws ContactNotFoundException {
                // Init variable
                Contact localContact = null;
 
@@ -954,7 +954,7 @@ public class FinancialsContactWebSessionBean extends BaseFinancialsController im
                // Is it still null?
                if (null == localContact) {
                        // Not visible for the current user
-                       throw new BusinessDataNotFoundException(contactId);
+                       throw new ContactNotFoundException(contactId);
                }
 
                // Copy all data to this bean
index e89f6dbe87c580ff113696bf9b29db6a103f0f38..4bdf1bdc0023e1a64010d280eb2c68b5fae67464 100644 (file)
@@ -22,7 +22,7 @@ import java.util.List;
 import javax.ejb.Local;
 import org.mxchange.jcontacts.contact.Contact;
 import org.mxchange.jcontacts.contact.title.PersonalTitle;
-import org.mxchange.jcontactsbusiness.exceptions.BusinessDataNotFoundException;
+import org.mxchange.jcontacts.exceptions.ContactNotFoundException;
 import org.mxchange.jcountry.data.Country;
 import org.mxchange.jphone.phonenumbers.mobileprovider.MobileProvider;
 
@@ -61,9 +61,9 @@ public interface FinancialsContactWebSessionController extends Serializable {
         * <p>
         * @return Contact instance
         * <p>
-        * @throws BusinessDataNotFoundException If the user is not found
+        * @throws ContactNotFoundException If the user is not found
         */
-       Contact lookupContactById (final Long contactId) throws BusinessDataNotFoundException;
+       Contact lookupContactById (final Long contactId) throws ContactNotFoundException;
 
        /**
         * Creates an instance from all properties