generateUniqueId() and more useless/deprecated methods removed, code speed-up, link...
[shipsimu.git] / application / ship-simu / exceptions / class_InvalidContractPartnerException.php
index 394ced8dca190581f275e73747cbe0b38e9f238f..3bf55f058cba5d4382c901b980457edb472dfbe3 100644 (file)
@@ -24,9 +24,8 @@
 class InvalidContractPartnerException extends FrameworkException {
        public function __construct (FrameworkInterface $class, $code) {
                // Add a message around the missing class
-               $message = sprintf("[%s:] <span id=\"exception_reason\">%s</span> ist kein g&uuml;tiger Vertragspartner.",
-                       $class->__toString(),
-                       $class->getObjectDescription()
+               $message = sprintf("[%s:] Kein g&uuml;tiger Vertragspartner.",
+                       $class->__toString()
                );
 
                // Call parent constructor