Code syncronized with shipsimu code base
[mailer.git] / inc / classes / exceptions / main / class_ResponseHeadersAlreadySentException.php
index 16e36e16574f6a4f2d1fb516b31271ae3324289c..f08d66298828596fa8274fb004d80cf1e0aad568 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,11 +25,11 @@ class ResponseHeadersAlreadySentException extends FrameworkException {
        /**
         * The constructor
         *
-        * @param               $message                Message from the exception
-        * @param               $code           Code number for the exception
+        * @param       $class  Class throwing this exception
+        * @param       $code   Code number for the exception
         * @return      void
         */
-       public function __construct (BaseFrameworkSystem $class, $code) {
+       public function __construct (FrameworkInterface $class, $code) {
                // Add a message around the missing class
                $message = sprintf("[%s:%d] Headers are already sent!",
                        $class->__toString(),