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