]> 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 b3f0e5ec6c24ad80c726f7b60f52895addf890be..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
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 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()