X-Git-Url: https://git.mxchange.org/?p=shipsimu.git;a=blobdiff_plain;f=application%2Fship-simu%2Fexceptions%2Fclass_ItemNotInPriceListException.php;h=8daaa2426bb4260c93d5c605626045fdcdc34d6e;hp=ecadfa7f81b0ec91eec1484198e2fd7e66f652a0;hb=5bf79580029c4f6ee71e6c9e7890169e4b344def;hpb=55be672a65bb8aadce8a45f4c54dca43a7c95d1f
diff --git a/application/ship-simu/exceptions/class_ItemNotInPriceListException.php b/application/ship-simu/exceptions/class_ItemNotInPriceListException.php
index ecadfa7..8daaa24 100644
--- a/application/ship-simu/exceptions/class_ItemNotInPriceListException.php
+++ b/application/ship-simu/exceptions/class_ItemNotInPriceListException.php
@@ -1,10 +1,10 @@
* @version 0.0.0
- * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
+ * @copyright Copyright (c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
* @link http://www.ship-simu.org
*
@@ -22,11 +22,10 @@
* along with this program. If not, see .
*/
class ItemNotInPriceListException extends FrameworkException {
- public function __construct (BaseFrameworkSystem $class, $code) {
+ public function __construct (FrameworkInterface $class, $code) {
// Add a message around the missing class
- $message = sprintf("[Merchant:] Preis für den Artikel %s %s nicht gefunden.",
- $class->__toString(),
- $class->getObjectDescription()
+ $message = sprintf("[Merchant:] Preis für den Artikel %s nicht gefunden.",
+ $class->__toString()
);
// Call parent constructor