X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fclasses%2Fexceptions%2Fdatabase%2Flocal_file%2Fclass_SavePathIsEmptyException.php;h=56c7ff8bc57d9cac78b6aa2fa4baa7104d9f77b6;hb=86553167136d11d44e1d938e964134c038785e3e;hp=efae626f91d73b6e045b08c9dcaf03db3dd2a8dd;hpb=2a157996efd680b87b0a84cc95b91619ea6e81d9;p=shipsimu.git diff --git a/inc/classes/exceptions/database/local_file/class_SavePathIsEmptyException.php b/inc/classes/exceptions/database/local_file/class_SavePathIsEmptyException.php index efae626..56c7ff8 100644 --- a/inc/classes/exceptions/database/local_file/class_SavePathIsEmptyException.php +++ b/inc/classes/exceptions/database/local_file/class_SavePathIsEmptyException.php @@ -2,11 +2,11 @@ /** * An exception thrown when the save path string is empty * - * @author Roland Haeder - * @version 0.3.0 + * @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 * * 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 @@ -21,17 +21,17 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class SavePathIsEmptyException extends FrameworkException { +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() );