Code syncronized with shipsimu code base
[mailer.git] / inc / classes / exceptions / helper / class_FormClosedException.php
index dd012eb045c7afa92af642c9cafbb5d80540409c..59a52ad18fd0cf497921a5e227f4fcab2a6dd32e 100644 (file)
@@ -5,7 +5,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
  *
@@ -26,13 +26,13 @@ class FormClosedException extends FrameworkException {
        /**
         * The constructor
         *
-        * @param               $classArray             Class throwing the exception
-        * @param               $code                   Code number for the exception
+        * @param       $classArray             Class throwing the exception
+        * @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] Could not add form element <u>%s</u> because form is closed.",
+               $message = sprintf("[%s:%d] Could not add form element <span id=\"exception_reason\">%s</span> because form is closed.",
                        $classArray[0]->__toString(),
                        $this->getLine(),
                        $classArray[1]