Class ForbiddenException
Represents an HTTP 403 error.
- Exception implements Throwable
- RuntimeException
- HttpException
- ForbiddenException
Package: Cake\Error
Copyright: Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
License: License (http://www.opensource.org/licenses/mit-license.php)
Location: Cake/Error/exceptions.php
Copyright: Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
License: License (http://www.opensource.org/licenses/mit-license.php)
Location: Cake/Error/exceptions.php
Inherited Properties
-
code
,file
,line
,message
Method Summary
-
__construct() public
Constructor
Method Detail
__construct() public ΒΆ
__construct( string $message = null , string $code = 403 )
Constructor
Parameters
- string $message optional null
- If no message is given 'Forbidden' will be the message
- string $code optional 403
- Status code, defaults to 403
Overrides
Exception::__construct()