X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fclasses%2Fexceptions%2Fcontainer%2Fclass_ContainerItemIsNullException.php;fp=inc%2Fclasses%2Fexceptions%2Fcontainer%2Fclass_ContainerItemIsNullException.php;h=9780abe79f79e81ac41a0738f317cf8d114cdcf1;hb=86553167136d11d44e1d938e964134c038785e3e;hp=05334ed1d62a3f1778f999a4128c251b8e8eca8e;hpb=b32540971288c1c95139d65e75c72c1e456c9337;p=shipsimu.git
diff --git a/inc/classes/exceptions/container/class_ContainerItemIsNullException.php b/inc/classes/exceptions/container/class_ContainerItemIsNullException.php
index 05334ed..9780abe 100644
--- a/inc/classes/exceptions/container/class_ContainerItemIsNullException.php
+++ b/inc/classes/exceptions/container/class_ContainerItemIsNullException.php
@@ -7,6 +7,7 @@
* @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
*
* 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
@@ -25,13 +26,13 @@ class ContainerItemIsNullException extends FrameworkException {
/**
* The constructor
*
- * @param $message Message from the exception
- * @param $code Code number for the exception
+ * @param $class Class throwing this exception
+ * @param $code Code number for the exception
* @return void
*/
- public function __construct (BaseFrameworkSystem $class, $code) {
+ public function __construct (FrameworkInterface $class, $code) {
// Add a message around the missing class
- $message = sprintf("[%s:%d] Ein Container-Item ist auf null gesetzt.",
+ $message = sprintf("[%s:%d] A container item is null.",
$class->__toString(),
$this->getLine()
);