]> git.mxchange.org Git - shipsimu.git/blobdiff - inc/classes/exceptions/main/class_ClassMismatchException.php
Type-hints fixed, header docs fixed, exceptions deprecated
[shipsimu.git] / inc / classes / exceptions / main / class_ClassMismatchException.php
index a2f009b13253d7958c9448a74f6b493ad7a3c559..9ea58f744f515fd9fed3652bc532dbf77c9f7513 100644 (file)
@@ -25,13 +25,13 @@ class ClassMismatchException extends FrameworkException {
        /**
         * The constructor
         *
        /**
         * The constructor
         *
-        * @param               $message                Message from the exception
-        * @param               $code           Code number for the exception
+        * @param               $classArray             Array holding the exception informations
+        * @param               $code                   Code number for the exception
         * @return      void
         */
        public function __construct (array $classArray, $code) {
                // Add a message around the missing class
         * @return      void
         */
        public function __construct (array $classArray, $code) {
                // Add a message around the missing class
-               $message = sprintf("Die Klasse <span id=\"exception_reason\">%s</span> ist ungleich <span id=\"exception_reason\">%s</span>.",
+               $message = sprintf("The class <span id=\"exception_reason\">%s</span> does not match class <span id=\"exception_reason\">%s</span>.",
                        $classArray[0],
                        $classArray[1]
                );
                        $classArray[0],
                        $classArray[1]
                );