X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2Forg%2Fmxchange%2Fjphone%2Fexceptions%2Fphone%2FPhoneNumberNotLinkedException.java;h=153429933c90dc5f33f1fda601b17f44f3a55c4f;hb=refs%2Fheads%2Fmaster;hp=2c40eea6c449bb07c48a0b1bc444850df5bc80f5;hpb=99ae6a918a421a420eab8345c92b63404d3a9dba;p=jphone-core.git diff --git a/src/org/mxchange/jphone/exceptions/phone/PhoneNumberNotLinkedException.java b/src/org/mxchange/jphone/exceptions/phone/PhoneNumberNotLinkedException.java index 2c40eea..1534299 100644 --- a/src/org/mxchange/jphone/exceptions/phone/PhoneNumberNotLinkedException.java +++ b/src/org/mxchange/jphone/exceptions/phone/PhoneNumberNotLinkedException.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016 - 2018 Free Software Foundation + * Copyright (C) 2016 - 2024 Free Software Foundation * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -19,11 +19,10 @@ package org.mxchange.jphone.exceptions.phone; import java.text.MessageFormat; import org.mxchange.jphone.model.phonenumbers.fax.DialableFaxNumber; import org.mxchange.jphone.model.phonenumbers.landline.DialableLandLineNumber; -import org.mxchange.jphone.model.phonenumbers.mobile.DialableMobileNumber; /** - * An exception thrown when a fax, land-line or mobile number is not linked but - * should be. + * An exception thrown when a fax or land-line number is not linked but should + * be. *

* @author Roland Häder */ @@ -35,7 +34,7 @@ public class PhoneNumberNotLinkedException extends Exception { private static final long serialVersionUID = 18_964_581_681_985_599L; /** - * Counstructor with fax number + * Constructor with fax number *

* @param faxNumber Fax number */ @@ -45,7 +44,7 @@ public class PhoneNumberNotLinkedException extends Exception { } /** - * Counstructor with landLine number + * Constructor with landLine number *

* @param landLineNumber Land-line number */ @@ -54,14 +53,4 @@ public class PhoneNumberNotLinkedException extends Exception { super(MessageFormat.format("landLineNumber={0} with phoneId={1} is not linked.", landLineNumber, landLineNumber.getPhoneId())); //NOI18N } - /** - * Counstructor with mobile number - *

- * @param mobileNumber Mobile number - */ - public PhoneNumberNotLinkedException (final DialableMobileNumber mobileNumber) { - // Call super constructor with message - super(MessageFormat.format("mobileNumber={0} with phoneId={1} is not linked.", mobileNumber, mobileNumber.getPhoneId())); //NOI18N - } - }