* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ /** * ForbiddenHttpException. * * @author Fabien Potencier */ class ForbiddenHttpException extends HttpException { public function __construct($message = '', $code = 0, \Exception $previous) { if (!$message) { $message = 'Forbidden'; } parent::__construct($message, 403, $previous); } }