X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fserverexception.php;h=764e11c0fc6c577620783fbb7751ccd2df48d20d;hb=f02d32b718de732181d0f73beed2b7fdb77b1cbd;hp=6b2d55a0bdf04c26703a0215b77e00b8fa4248e3;hpb=104a47e4a2903f1c7ea73363a73cee12f0cf14ac;p=quix0rs-gnu-social.git diff --git a/lib/serverexception.php b/lib/serverexception.php index 6b2d55a0bd..764e11c0fc 100644 --- a/lib/serverexception.php +++ b/lib/serverexception.php @@ -22,7 +22,7 @@ * @category Exception * @package StatusNet * @author Evan Prodromou - * @copyright 2008 StatusNet, Inc. + * @copyright 2008-2010 StatusNet, Inc. * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0 * @link http://status.net/ */ @@ -34,7 +34,7 @@ if (!defined('STATUSNET') && !defined('LACONICA')) { /** * Class for server exceptions * - * Subclass of PHP Exception for server errors. The user typically cannot fix these. + * Subclass of PHP Exception for server errors. The user typically can't fix these. * * @category Exception * @package StatusNet @@ -45,7 +45,7 @@ if (!defined('STATUSNET') && !defined('LACONICA')) { class ServerException extends Exception { - public function __construct($message = null, $code = 400) { + public function __construct($message = null, $code = 500) { parent::__construct($message, $code); }