From: Roland Häder Date: Wed, 23 Nov 2022 20:36:29 +0000 (+0100) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c951a96804e3db8d91ed0c669b49d0bc19bddadd;hp=704f116fbf552d5e223ae4e0947f22840f76fb9e;p=jcontacts-lib.git Continued: - documented another thrown exception - upgraded project files for Apache NetBeans IDE 15 --- diff --git a/lib/CopyLibs/org-netbeans-modules-java-j2seproject-copylibstask.jar b/lib/CopyLibs/org-netbeans-modules-java-j2seproject-copylibstask.jar index eaf6790..174d1fc 100644 Binary files a/lib/CopyLibs/org-netbeans-modules-java-j2seproject-copylibstask.jar and b/lib/CopyLibs/org-netbeans-modules-java-j2seproject-copylibstask.jar differ diff --git a/lib/nblibraries.properties b/lib/nblibraries.properties index 14b9f2b..5efdb9a 100644 --- a/lib/nblibraries.properties +++ b/lib/nblibraries.properties @@ -1,7 +1,7 @@ libs.CopyLibs.classpath=\ ${base}/CopyLibs/org-netbeans-modules-java-j2seproject-copylibstask.jar libs.CopyLibs.displayName=CopyLibs Task -libs.CopyLibs.prop-version=2.0 +libs.CopyLibs.prop-version=3.0 libs.javaee-api-7.0.classpath=\ ${base}/javaee-api-7.0/javaee-api-7.0.jar libs.javaee-api-7.0.displayName=Java EE 7 API Library diff --git a/nbproject/project.properties b/nbproject/project.properties index 194bc85..5840a55 100644 --- a/nbproject/project.properties +++ b/nbproject/project.properties @@ -20,8 +20,12 @@ build.test.results.dir=${build.dir}/test/results #debug.transport=dt_socket debug.classpath=\ ${run.classpath} +debug.modulepath=\ + ${run.modulepath} debug.test.classpath=\ ${run.test.classpath} +debug.test.modulepath=\ + ${run.test.modulepath} # Files in build.classes.dir which should be excluded from distribution jar dist.archive.excludes= # This directory is removed when the project is cleaned: @@ -44,6 +48,8 @@ javac.classpath=\ javac.compilerargs=-Xlint:unchecked -Xlint:deprecation javac.deprecation=true javac.external.vm=false +javac.modulepath= +javac.processormodulepath= javac.processorpath=\ ${javac.classpath} javac.source=1.7 @@ -51,6 +57,8 @@ javac.target=1.7 javac.test.classpath=\ ${javac.classpath}:\ ${build.classes.dir} +javac.test.modulepath=\ + ${javac.modulepath} javac.test.processorpath=\ ${javac.test.classpath} javadoc.additionalparam= @@ -88,9 +96,13 @@ run.classpath=\ # You may also define separate properties like run-sys-prop.name=value instead of -Dname=value. # To set system properties for unit tests define test-sys-prop.name=value: run.jvmargs= +run.modulepath=\ + ${javac.modulepath} run.test.classpath=\ ${javac.test.classpath}:\ ${build.test.classes.dir} +run.test.modulepath=\ + ${javac.test.modulepath} source.encoding=UTF-8 source.reference.jcontacts-core.jar=../jcontacts-core/src/ source.reference.jphone-core.jar=../jphone-core/src/ diff --git a/src/org/mxchange/jcontacts/model/mobile/AdminContactsMobileSessionBeanRemote.java b/src/org/mxchange/jcontacts/model/mobile/AdminContactsMobileSessionBeanRemote.java index 6bc3d8b..2a576d4 100644 --- a/src/org/mxchange/jcontacts/model/mobile/AdminContactsMobileSessionBeanRemote.java +++ b/src/org/mxchange/jcontacts/model/mobile/AdminContactsMobileSessionBeanRemote.java @@ -34,9 +34,8 @@ import org.mxchange.jphone.model.phonenumbers.mobile.DialableMobileNumber; public interface AdminContactsMobileSessionBeanRemote extends Serializable { /** - * Links existing mobile number with given contact instance. The id number - * should be set. - *

+ * Links existing mobile number with given contact instance.The id number + * should be set.

* @param contact Contact to link to * @param mobileNumber Mobile number to link *

@@ -44,6 +43,7 @@ public interface AdminContactsMobileSessionBeanRemote extends Serializable { *

* @throws MobileNumberAlreadyLinkedException If a mobile number is already * linked in contact + * @throws ContactNotFoundException If the given contact wasn't found */ Contact linkExistingMobileNumberWithContact (final Contact contact, final DialableMobileNumber mobileNumber) throws MobileNumberAlreadyLinkedException, ContactNotFoundException;