Code syncronized with shipsimu code base
[mailer.git] / inc / classes / exceptions / helper / class_InvalidFormNameException.php
index 00c36a25f10c5080a8342d42cd348344ca36df63..70e1c3dcad881891a8f8a9595ac22729ed9b6005 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,14 +25,14 @@ class InvalidFormNameException extends FrameworkException {
        /**
         * The constructor
         *
-        * @param               $class          Class throwing the exception
-        * @param               $code           Code number for the exception
+        * @param       $helperInstance         Class throwing the exception
+        * @param       $code                           Code number for the exception
         * @return      void
         */
-       public function __construct (BaseFrameworkSystem $class, $code) {
+       public function __construct (BaseHelper $helperInstance, $code) {
                // Add a message around the missing class
                $message = sprintf("[%s:%d] Form name not set.",
-                       $class->__toString(),
+                       $helperInstance->__toString(),
                        $this->getLine()
                );