]> git.mxchange.org Git - shipsimu.git/blobdiff - inc/classes/exceptions/main/class_DimNotFoundInArrayException.php
Type-hints fixed, header docs fixed, exceptions deprecated
[shipsimu.git] / inc / classes / exceptions / main / class_DimNotFoundInArrayException.php
index 7205bfcb4d244541ed983241d9d456bf5614cef5..74bd7c2cb7b3d930b774376ff751ac3d2c2fe7a9 100644 (file)
@@ -25,14 +25,14 @@ class DimNotFoundInArrayException extends FrameworkException {
        /**
         * The constructor
         *
-        * @param               $message                Message from the exception
-        * @param               $code           Code number for the exception
+        * @param       $class  Class throwing the exception
+        * @param       $code   Code number for the exception
         * @return      void
         */
-       public function __construct (BaseFrameworkSystem $class, $code) {
+       public function __construct (FrameworkInterface $class, $code) {
                if (is_object($class)) {
                        // Add a message around the missing class
-                       $message = sprintf("[%s:%d] Abmasse konnten nicht extrahiert werden!",
+                       $message = sprintf("[%s:%d] Dimensions not found in array, array is invalid!",
                                $class->__toString(),
                                $this->getLine()
                        );