/**
* 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
}
}
@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")