X-Git-Url: https://git.mxchange.org/?p=shipsimu.git;a=blobdiff_plain;f=inc%2Fclasses%2Fexceptions%2Fmain%2Fclass_NoObjectException.php;h=3efe4f9fadf998f89e650a656210e50d9019c40b;hp=7c7b519c10b574575c7452c5f21fc42bc4468ea7;hb=55be672a65bb8aadce8a45f4c54dca43a7c95d1f;hpb=ff66822b5fb6a92f5dc8af55290ecb89ec7f1aaf diff --git a/inc/classes/exceptions/main/class_NoObjectException.php b/inc/classes/exceptions/main/class_NoObjectException.php index 7c7b519..3efe4f9 100644 --- a/inc/classes/exceptions/main/class_NoObjectException.php +++ b/inc/classes/exceptions/main/class_NoObjectException.php @@ -3,9 +3,10 @@ * A deprecated exception which should be replaced with InvalidObjectException * * @author Roland Haeder - * @version 0.0 + * @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 * @deprecated * @see InvalidObjectException * @@ -30,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("%s ist kein Objekt!", + $message = sprintf("%s ist kein Objekt!", $string );