1 <?php
2
3 /*
4 * This file is part of the ICanBoogie package.
5 *
6 * (c) Olivier Laviale <olivier.laviale@gmail.com>
7 *
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
10 */
11
12 namespace ICanBoogie\HTTP;
13
14 /**
15 * Exception thrown when a resource is not found.
16 */
17 class NotFound extends \Exception implements Exception
18 {
19 public function __construct($message = 'The requested URL was not found on this server.', $code = 404, \Exception $previous = null)
20 {
21 parent::__construct($message, $code, $previous);
22 }
23 }
24