]> git.mxchange.org Git - shipsimu.git/blobdiff - inc/classes/exceptions/container/class_ContainerItemIsNoArrayException.php
More conventions than code added:
[shipsimu.git] / inc / classes / exceptions / container / class_ContainerItemIsNoArrayException.php
index 405c39b0de243cbd44d38da01bf85c89b9579456..ad1ac7ca1f3c9a0b34b2435f93c82a1797bce646 100644 (file)
@@ -2,11 +2,12 @@
 /**
  * An exception thrown when a container item is not an array
  *
- * @author             Roland Haeder <webmaster@mxchange.org>
- * @version            0.3.0
- * @copyright  Copyright(c) 2007, 2008 Roland Haeder, this is free software
+ * @author             Roland Haeder <webmaster@ship-simu.org>
+ * @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.mxchange.org
+ * @link               http://www.ship-simu.org
+ * @deprecated
  * 
  * 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,13 +26,13 @@ class ContainerItemIsNoArrayException extends FrameworkException {
        /**
         * The constructor
         *
-        * @param               $message                Message from the exception
-        * @param               $code           Code number for the exception
+        * @param       $class  Class throwing this exception
+        * @param       $code   Code number for the exception
         * @return      void
         */
-       public function __construct (BaseFrameworkSystem $class, $code) {
+       public function __construct (FrameworkInterface $class, $code) {
                // Add a message around the missing class
-               $message = sprintf("[%s:%d] Ein Container-Item ist kein Array.",
+               $message = sprintf("[%s:%d] A container item is not an array.",
                        $class->__toString(),
                        $this->getLine()
                );