X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fclasses%2Fexceptions%2Fdatabase%2Fgeneral%2Fclass_SqlException.php;h=af89ee87bb9537abf8177e53f5cec3fa0c4124b1;hp=449ec29d5b9c0b7fa13582dd81168b988f078c74;hb=fdc6a02b5e6c2155cda61fcc345c7583b734ab85;hpb=361e6320e50a8bb1a3ccb675388b8042361669ae diff --git a/inc/classes/exceptions/database/general/class_SqlException.php b/inc/classes/exceptions/database/general/class_SqlException.php index 449ec29d..af89ee87 100644 --- a/inc/classes/exceptions/database/general/class_SqlException.php +++ b/inc/classes/exceptions/database/general/class_SqlException.php @@ -2,11 +2,11 @@ /** * A SQL exception thrown when an SQL error was detected. * - * @author Roland Haeder + * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright (c) 2007 - 2009 Roland Haeder, this is free software + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2013 Core Developer Team * @license GNU GPL 3.0 or any newer version - * @link http://www.ship-simu.org + * @link http://www.shipsimu.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 @@ -31,7 +31,7 @@ class SqlException extends DatabaseException { */ public function __construct (array $msgArray, $code) { // Construct the message - $message = sprintf("[%s:%d] SQL error detected. Message from database: %s, code: %s.", + $message = sprintf('[%s:%d] SQL error detected. Message from database: %s, code: %s.', $msgArray[0]->__toString(), $this->getLine(), $msgArray[1],