X-Git-Url: https://git.mxchange.org/?p=shipsimu.git;a=blobdiff_plain;f=application%2Fship-simu%2Fexceptions%2Fclass_ItemNotInPriceListException.php;h=8daaa2426bb4260c93d5c605626045fdcdc34d6e;hp=f6f20e71c5155bb5559bce21f16c350c273e37ce;hb=5bf79580029c4f6ee71e6c9e7890169e4b344def;hpb=1d128d8532290e84885d09d2d3f0060abd08e49e diff --git a/application/ship-simu/exceptions/class_ItemNotInPriceListException.php b/application/ship-simu/exceptions/class_ItemNotInPriceListException.php index f6f20e7..8daaa24 100644 --- a/application/ship-simu/exceptions/class_ItemNotInPriceListException.php +++ b/application/ship-simu/exceptions/class_ItemNotInPriceListException.php @@ -1,12 +1,12 @@ * @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 + * @link http://www.ship-simu.org * * 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 @@ -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