Updated domain without a dash :(
[core.git] / inc / classes / exceptions / stacker / class_AlreadyInitializedStackerException.php
index 24b5ab88455d386ee9bb064c9dfba92ab639064c..593ca2acb778136764a3250ecc4776dd018f2d68 100644 (file)
@@ -2,11 +2,11 @@
 /**
  * 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
@@ -25,16 +25,17 @@ class AlreadyInitializedStackerException extends FrameworkException {
        /**
         * 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