]> git.mxchange.org Git - jphone-core.git/commitdiff
renamed it as well
authorRoland Häder <roland@mxchange.org>
Tue, 16 Aug 2016 10:45:17 +0000 (12:45 +0200)
committerRoland Häder <roland@mxchange.org>
Tue, 16 Aug 2016 10:49:32 +0000 (12:49 +0200)
src/org/mxchange/jphone/exceptions/PhoneEntityNotFoundException.java
src/org/mxchange/jphone/phonenumbers/mobile/MobileNumber.java

index 5623c56919cbdb37158bb04a6178dd7f003e1e9e..776e2f3c404e2c81812a1166e9a377423619c205 100644 (file)
@@ -33,12 +33,12 @@ public class PhoneEntityNotFoundException extends Exception {
        /**
         * Counstructor with id number and causing exception
         * <p>
-        * @param cellphoneId Id number that has no corresponding entity
+        * @param phoneId Id number that has no corresponding entity
         * @param cause Causing exception
         */
-       public PhoneEntityNotFoundException (final Long cellphoneId, final Throwable cause) {
+       public PhoneEntityNotFoundException (final Long phoneId, final Throwable cause) {
                // Construct message and call super constructor
-               super(MessageFormat.format("Cell phone entity with id {0} not found.", cellphoneId), cause); //NOI18N
+               super(MessageFormat.format("Phone entity with id {0} not found.", phoneId), cause); //NOI18N
        }
 
 }
index 49baf19459aaac7ebfdac5dad44c81d781a85e7d..02f23e24437a761c9f0890e63aacea993e338154 100644 (file)
@@ -47,7 +47,7 @@ import org.mxchange.jphone.phonenumbers.mobileprovider.MobileProvider;
 @NamedQueries (
                {
                        @NamedQuery (name = "AllCellphoneNumbers", query = "SELECT c FROM mobile_numbers AS c ORDER BY c.phoneId ASC"),
-                       @NamedQuery (name = "SearchCellphoneId", query = "SELECT c FROM mobile_numbers AS c WHERE c.phoneId = :cellphoneId")
+                       @NamedQuery (name = "SearchMobileNumberId", query = "SELECT c FROM mobile_numbers AS c WHERE c.phoneId = :mobileNumberId")
                }
 )
 @SuppressWarnings ("PersistenceUnitPresent")