]> git.mxchange.org Git - shipsimu.git/blobdiff - inc/classes/exceptions/main/class_NoObjectException.php
Exceptions now with not so much underlines
[shipsimu.git] / inc / classes / exceptions / main / class_NoObjectException.php
index 7f3da772598262156d4f6301c996575cb09c63d7..3efe4f9fadf998f89e650a656210e50d9019c40b 100644 (file)
@@ -2,11 +2,11 @@
 /**
  * A deprecated exception which should be replaced with InvalidObjectException
  *
- * @author             Roland Haeder <webmaster@mxchange.org>
- * @version            0.3.0
+ * @author             Roland Haeder <webmaster@ship-simu.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.mxchange.org
+ * @link               http://www.ship-simu.org
  * @deprecated
  * @see                InvalidObjectException
  *
@@ -31,9 +31,9 @@ class NoObjectException extends FrameworkException {
         * @param               $code           Code number for the exception
         * @return      void
         */
-       public final function __construct ($string, $code) {
+       public function __construct ($string, $code) {
                // Add a message around the missing class
-               $message = sprintf("<u>%s</u> ist kein Objekt!",
+               $message = sprintf("<span id=\"exception_reason\">%s</span> ist kein Objekt!",
                        $string
                );