| 1 | <?php |
||
| 8 | class AccessDenied extends HttpException |
||
| 9 | { |
||
| 10 | |||
| 11 | public $statusCode=403; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * Constructor. |
||
| 15 | * @param string $message error message |
||
| 16 | * @param int $code error code |
||
| 17 | * @param \Exception $previous The previous exception used for the exception chaining. |
||
| 18 | */ |
||
| 19 | public function __construct($message = null, $code = 0, \Exception $previous = null) |
||
| 23 | } |
||
| 24 |