From 866f751982576f1c7c0e60c603d20a4f4d8afca8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 16 Aug 2016 12:45:17 +0200 Subject: [PATCH] renamed it as well --- .../jphone/exceptions/PhoneEntityNotFoundException.java | 6 +++--- .../mxchange/jphone/phonenumbers/mobile/MobileNumber.java | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/org/mxchange/jphone/exceptions/PhoneEntityNotFoundException.java b/src/org/mxchange/jphone/exceptions/PhoneEntityNotFoundException.java index 5623c56..776e2f3 100644 --- a/src/org/mxchange/jphone/exceptions/PhoneEntityNotFoundException.java +++ b/src/org/mxchange/jphone/exceptions/PhoneEntityNotFoundException.java @@ -33,12 +33,12 @@ public class PhoneEntityNotFoundException extends Exception { /** * Counstructor with id number and causing exception *

- * @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 } } diff --git a/src/org/mxchange/jphone/phonenumbers/mobile/MobileNumber.java b/src/org/mxchange/jphone/phonenumbers/mobile/MobileNumber.java index 49baf19..02f23e2 100644 --- a/src/org/mxchange/jphone/phonenumbers/mobile/MobileNumber.java +++ b/src/org/mxchange/jphone/phonenumbers/mobile/MobileNumber.java @@ -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") -- 2.39.5