X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=application%2Fship-simu%2Fexceptions%2Fclass_ItemNotTradeableException.php;h=2344c06d8157b9a0bf7c62dfeed1baee6737519d;hb=abb8bf6be9f5238f8a4552707bcb190f0dbf0b7a;hp=ea6a2dc9cacdf7a2cdbb12f2253f4ba5b44f5a14;hpb=55be672a65bb8aadce8a45f4c54dca43a7c95d1f;p=shipsimu.git diff --git a/application/ship-simu/exceptions/class_ItemNotTradeableException.php b/application/ship-simu/exceptions/class_ItemNotTradeableException.php index ea6a2dc..2344c06 100644 --- a/application/ship-simu/exceptions/class_ItemNotTradeableException.php +++ b/application/ship-simu/exceptions/class_ItemNotTradeableException.php @@ -4,7 +4,7 @@ * * @author Roland Haeder * @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 * @@ -24,9 +24,8 @@ class ItemNotTradeableException extends FrameworkException { public function __construct (array $classArray, $code) { // Add a message around the missing class - $message = sprintf("[%s:] %s ist nicht handelbar!", - $classArray[0]->__toString(), - $classArray[1]->getObjectDescription() + $message = sprintf("[%s:] Object not tradeable.", + $classArray[0]->__toString() ); // Call parent constructor