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;
}
@Override
- public Contact lookupContactById (final Long contactId) throws BusinessDataNotFoundException {
+ public Contact lookupContactById (final Long contactId) throws ContactNotFoundException {
// Init variable
Contact localContact = null;
// 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
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;
* <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