]> git.mxchange.org Git - jphone-lib.git/commitdiff
This business method throws an exception if the mobile provider has already been...
authorRoland Haeder <roland@mxchange.org>
Wed, 13 Apr 2016 16:38:16 +0000 (18:38 +0200)
committerRoland Haeder <roland@mxchange.org>
Wed, 13 Apr 2016 16:38:16 +0000 (18:38 +0200)
lib/jphone-core.jar
src/org/mxchange/jphone/phonenumbers/mobileprovider/AdminMobileProviderSingletonBeanRemote.java

index 7a1726a03bf0ecb905d4ae5aa1b7b6aa6cb6a500..b880b877b91245fa7c87f027511432060a1f9144 100644 (file)
Binary files a/lib/jphone-core.jar and b/lib/jphone-core.jar differ
index d16d0b93f9308695649c770631b4aa414ebd022f..b80a84c85416ff585c70ff58384664d0b1d5f3af 100644 (file)
@@ -18,6 +18,7 @@ package org.mxchange.jphone.phonenumbers.mobileprovider;
 
 import java.io.Serializable;
 import javax.ejb.Remote;
+import org.mxchange.jphone.exceptions.MobileProviderAlreadyAddedException;
 
 /**
  * A remote interface for mobile provider data retrieval for administrative
@@ -36,7 +37,9 @@ public interface AdminMobileProviderSingletonBeanRemote extends Serializable {
         * @param mobileProvider Mobile provider instance
         * <p>
         * @return Updated instance
+        * <p>
+        * @throws org.mxchange.jphone.exceptions.MobileProviderAlreadyAddedException Thrown if the mobile provider is already added
         */
-       MobileProvider addMobileProvider (final MobileProvider mobileProvider);
+       MobileProvider addMobileProvider (final MobileProvider mobileProvider) throws MobileProviderAlreadyAddedException;
 
 }