Copyright updated, menu class added for 'home'
[shipsimu.git] / application / ship-simu / exceptions / class_ItemNotTradeableException.php
index ea6a2dc9cacdf7a2cdbb12f2253f4ba5b44f5a14..2152ae99e07869569a401af47193b82e0539a340 100644 (file)
@@ -4,7 +4,7 @@
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright(c) 2007, 2008 Roland Haeder, this is free software
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
  * @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:] <span id=\"exception_reason\">%s</span> ist nicht handelbar!",
-                       $classArray[0]->__toString(),
-                       $classArray[1]->getObjectDescription()
+               $message = sprintf("[%s:] Object not tradeable.",
+                       $classArray[0]->__toString()
                );
 
                // Call parent constructor