More renamed
[shipsimu.git] / application / ship-simu / exceptions / class_ItemNotTradeableException.php
index ea6a2dc9cacdf7a2cdbb12f2253f4ba5b44f5a14..074f17edd10c81b9ee3622c344710c317d97d2bf 100644 (file)
@@ -2,11 +2,11 @@
 /**
  * An exception thrown when an item is not tradeable (maybe unneccessary)
  *
- * @author             Roland Haeder <webmaster@ship-simu.org>
+ * @author             Roland Haeder <webmaster@shipsimu.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
+ * @link               http://www.shipsimu.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
@@ -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