1<?php 2/** 3 * 4 * This file is part of the phpBB Forum Software package. 5 * 6 * @copyright (c) phpBB Limited <https://www.phpbb.com> 7 * @license GNU General Public License, version 2 (GPL-2.0) 8 * 9 * For full copyright and license information, please see 10 * the docs/CREDITS.txt file. 11 * 12 */ 13 14namespace phpbb\feed\exception; 15 16class unauthorized_topic_exception extends unauthorized_exception 17{ 18 public function __construct($topic_id, \Exception $previous = null, $code = 0) 19 { 20 parent::__construct('SORRY_AUTH_READ_TOPIC', array($topic_id), $previous, $code); 21 } 22} 23