]> git.mxchange.org Git - mailer.git/blobdiff - inc/classes/exceptions/helper/class_UserInstanceMissingException.php
Code syncronized with shipsimu code base
[mailer.git] / inc / classes / exceptions / helper / class_UserInstanceMissingException.php
index a1095720993705642d7a34d7465e1b93575e5391..e68e8f0f470c4931763cd246b2e30158f1562dba 100644 (file)
@@ -4,7 +4,7 @@
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright(c) 2007, 2008 Roland Haeder, this is free software
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, this is free software
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
@@ -25,13 +25,13 @@ class UserInstanceMissingException extends FrameworkException {
        /**
         * The constructor
         *
-        * @param               $classArray             Array with class instance and registry key
-        * @param               $code                   Code number for the exception
+        * @param       $classArray             Array with class instance and registry key
+        * @param       $code                   Code number for the exception
         * @return      void
         */
        public function __construct (array $classArray, $code) {
                // Add a message around the missing class
-               $message = sprintf("[%s:%d] Registry key <u>%s</u> does not include a class with implemented interface <u>ManageableUser</u>.",
+               $message = sprintf("[%s:%d] Registry key <span id=\"exception_reason\">%s</span> does not include a class with implemented interface <u>Manageable(User|Guest)</u>.",
                        $classArray[0]->__toString(),
                        $this->getLine(),
                        $classArray[1]