]> git.mxchange.org Git - hub.git/blobdiff - inc/classes/exceptions/main/class_NoObjectException.php
Code syncronized with shipsimu code base
[hub.git] / inc / classes / exceptions / main / class_NoObjectException.php
index 1812a16fb656f09fb8cf1d3463bc690c34da8f22..20f6870f408706bc15e8e15a75294ff576e5b67e 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
  * @deprecated
  * 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 NoObjectException extends FrameworkException {
        /**
         * The constructor
         *
-        * @param               $message                Message from the exception
-        * @param               $code           Code number for the exception
+        * @param       $string         Name of variable
+        * @param       $code           Code number for the exception
         * @return      void
         */
        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
                );