]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/exceptions/class_ContractAllreadySignedException.php
Type-hints fixed, header docs fixed, exceptions deprecated
[shipsimu.git] / application / ship-simu / exceptions / class_ContractAllreadySignedException.php
index 3c11743b4c64f690b64d3d2bdc00c16d4832b3ee..791922220aeb80716d7ee3fbd284e17c0cf8e913 100644 (file)
@@ -6,7 +6,7 @@
  * @version            0.0.0
  * @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
+ * @link               http://www.ship-simu.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
  */
 class ContractAllreadySignedException extends FrameworkException {
        public function __construct (array $classArray, $code) {
-               // Cast the array
-               $classArray = (array) $classArray;
-
                // Add a message around the missing class
-               $message = sprintf("[%s:] Die Vertragsparteien <u>%s</u> und <u>%s</u> haben den Vertrag bereits unterzeichnet!",
+               $message = sprintf("[%s:] Die Vertragsparteien <span id=\"exception_reason\">%s</span> und <span id=\"exception_reason\">%s</span> haben den Vertrag bereits unterzeichnet!",
                        $classArray[0]->__toString(),
                        $classArray[1]->getCompanyName(),
                        $classArray[2]->getCompanyName()