]> git.mxchange.org Git - shipsimu.git/blobdiff - inc/classes/exceptions/container/class_ContainerMaybeDamagedException.php
Type-hints fixed, header docs fixed, exceptions deprecated
[shipsimu.git] / inc / classes / exceptions / container / class_ContainerMaybeDamagedException.php
index 33232c08a9a24168876fb8712a4da8f8cc6fca1f..ec4539b232e086ffc56e717b386a2eb07a59f7fe 100644 (file)
@@ -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 ContainerMaybeDamagedException 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 ist möglicherweise beschädigt.",
+               $message = sprintf("[%s:%d] A container is possibly damaged.",
                        $class->__toString(),
                        $this->getLine()
                );