class HttpException extends RuntimeException implements HttpExceptionInterface
HttpException.
__construct($statusCode, $message = null, Exception $previous = null, array $headers = array(), $code) | ||
integer | getStatusCode() Returns the status code. | |
array | getHeaders() Returns response headers. |
Returns the status code.
Returns response headers.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/2.7/Symfony/Component/HttpKernel/Exception/HttpException.html