]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/exceptions/class_InvalidContractPartnerException.php
- XHTML errors/warnings fixed in some pages
[shipsimu.git] / application / ship-simu / exceptions / class_InvalidContractPartnerException.php
index db363ae60311d125c4a459d81ae9d26e96e25f95..3bf55f058cba5d4382c901b980457edb472dfbe3 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, this is free software
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
@@ -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