*
* @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
*
*/
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 <span id=\"exception_reason\">%s</span> und <span id=\"exception_reason\">%s</span> haben den Vertrag bereits unterzeichnet!",
+ $message = sprintf("[%s:] Die Vertragsparteien <span class=\"exception_reason\">%s</span> und <span class=\"exception_reason\">%s</span> haben den Vertrag bereits unterzeichnet!",
$classArray[0]->__toString(),
$classArray[1]->getCompanyName(),
$classArray[2]->getCompanyName()