]> git.mxchange.org Git - shipsimu.git/blobdiff - inc/classes/exceptions/main/class_NullPointerException.php
Registration form and form helper completed, XHTML markup errors fixed
[shipsimu.git] / inc / classes / exceptions / main / class_NullPointerException.php
index c43f466ec2b2430185a172f83e814e1ea8360a3c..6aab6cd077c8391394727885418c96d08ead4a9b 100644 (file)
@@ -2,11 +2,12 @@
 /**
  * An exception thrown when an object instance is null
  *
- * @author             Roland Haeder <webmaster@ship-simu.org>
- * @version            0.0
+ * @author             Roland Haeder <webmaster@mxchange.org>
+ * @version            0.0.0
  * @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
+ * 
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation, either version 3 of the License, or
@@ -18,7 +19,7 @@
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 class NullPointerException extends FrameworkException {
        /**
@@ -28,7 +29,7 @@ class NullPointerException extends FrameworkException {
         * @param               $code           Code number for the exception
         * @return      void
         */
-       public final function __construct ($class, $code) {
+       public function __construct (BaseFrameworkSystem $class, $code) {
                // Add a message around the missing class
                $message = sprintf("[%s:%d] Eine Instanz/Pointer ist auf <em>null</em> gesetzt.",
                        $class->__toString(),