1: <?php
2: /**
3: * CakePHP(tm) : Rapid Development Framework (https://cakephp.org)
4: * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
5: *
6: * Licensed under The MIT License
7: * Redistributions of files must retain the above copyright notice.
8: *
9: * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
10: * @since 3.0.0
11: * @license https://opensource.org/licenses/mit-license.php MIT License
12: */
13: namespace Cake\Http\Exception;
14:
15: use Cake\Core\Exception\Exception;
16:
17: /**
18: * Parent class for all of the HTTP related exceptions in CakePHP.
19: * All HTTP status/error related exceptions should extend this class so
20: * catch blocks can be specifically typed.
21: *
22: * You may also use this as a meaningful bridge to Cake\Core\Exception\Exception, e.g.:
23: * throw new \Cake\Network\Exception\HttpException('HTTP Version Not Supported', 505);
24: */
25: class HttpException extends Exception
26: {
27: }
28: