/**
* Thrown if a stacker is already initialized
*
- * @author Roland Haeder <webmaster@ship-simu.org>
+ * @author Roland Haeder <webmaster@shipsimu.org>
* @version 0.0.0
- * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009, 2010 Core Developer Team
+ * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2012 Core Developer Team
* @license GNU GPL 3.0 or any newer version
- * @link http://www.ship-simu.org
+ * @link http://www.shipsimu.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
/**
* The super constructor for all exceptions
*
- * @param $messageArray Error message array
- * @param $code Error code
+ * @param $messageArray Error message array
+ * @param $code Error code
* @return void
*/
- public function __construct(array $messageArray, $code) {
+ public function __construct (array $messageArray, $code) {
// Construct message
- $message = sprintf("[%s:%d] Stacker %s already initialized.",
+ $message = sprintf('[%s:%d] Stacker %s already initialized, forceReInit=%d.',
$messageArray[0]->__toString(),
$this->getLine(),
- $messageArray[1]
+ $messageArray[1],
+ intval($messageArray[2])
);
// Call parent exception constructor