Source for file BadRequestException.php
Documentation is available at BadRequestException.php
6: * @copyright Copyright (c) 2004, 2010 David Grudl
7: * @license http://nettephp.com/license Nette license
8: * @link http://nettephp.com
10: * @package Nette\Application
16: * Bad HTTP / presenter request exception.
18: * @copyright Copyright (c) 2004, 2010 David Grudl
19: * @package Nette\Application
27: public function __construct($message =
'', $code =
0, Exception $previous =
NULL)
29: if ($code <
200 ||
$code >
504) {
34: $this->previous =
$previous;
35: parent::__construct($message, $code);
37: parent::__construct($message, $code, $previous);