Represents an HTTP 400 error.
RuntimeException
CakeBaseException
HttpException
BadRequestException __construct( string $message null , integer $code 400 )
Constructor
$message optional null $code optional 400 responseHeader( string|array $header null , string $value null )
Get/set the response header to be used
$header optional null $value optional null arrayCakeResponse::header()protected array
Array of headers to be passed to CakeResponse::header()
null
© 2005–2016 The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
http://api.cakephp.org/2.7/class-BadRequestException.html