Type-hints fixed, header docs fixed, exceptions deprecated
[shipsimu.git] / inc / classes / exceptions / database / local_file / class_SavePathIsEmptyException.php
index d9de2eef94fa05aa81f7b45728b968a7a1649581..56c7ff8bc57d9cac78b6aa2fa4baa7104d9f77b6 100644 (file)
@@ -25,13 +25,13 @@ class SavePathIsEmptyException extends DatabaseException {
        /**
         * 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] Der Speicherpfad ist leer.",
+               $message = sprintf("[%s:%d] Save path is empty.",
                        $class->__toString(),
                        $this->getLine()
                );