X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fclasses%2Fexceptions%2Fmain%2Fclass_NoObjectException.php;h=20f6870f408706bc15e8e15a75294ff576e5b67e;hb=4f8c6dfcdc9b0a11ef041d0658f98d10a85e87fa;hp=8cd3c3e068c7a3fa9518d471fc0c76a728edc57f;hpb=1d128d8532290e84885d09d2d3f0060abd08e49e;p=shipsimu.git diff --git a/inc/classes/exceptions/main/class_NoObjectException.php b/inc/classes/exceptions/main/class_NoObjectException.php index 8cd3c3e..20f6870 100644 --- a/inc/classes/exceptions/main/class_NoObjectException.php +++ b/inc/classes/exceptions/main/class_NoObjectException.php @@ -2,11 +2,11 @@ /** * A deprecated exception which should be replaced with InvalidObjectException * - * @author Roland Haeder - * @version 0.3.0 - * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @author Roland Haeder + * @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 * @@ -27,13 +27,13 @@ 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("%s ist kein Objekt!", + $message = sprintf("%s ist kein Objekt!", $string );