generateUniqueId() and more useless/deprecated methods removed, code speed-up, link...
[shipsimu.git] / application / ship-simu / exceptions / class_ItemNotTradeableException.php
index 2d031bcf6e32907f71f0ef9811a3ebff4d4fa88b..2344c06d8157b9a0bf7c62dfeed1baee6737519d 100644 (file)
@@ -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