mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
HttpExceptionInterface now identifies HTTP exceptions, BaseHttpExceptions supersedes HttpException as new superclass for other more concrete Exceptions and HttpException is now a generic class to create new HTTP exceptions on the fly. resolves #2880
13 lines
275 B
PHP
13 lines
275 B
PHP
<?php
|
|
/* Icinga Web 2 | (c) 2015 Icinga Development Team | GPLv2+ */
|
|
|
|
namespace Icinga\Exception\Http;
|
|
|
|
/**
|
|
* Exception thrown for sending a HTTP 404 response w/ a custom message
|
|
*/
|
|
class HttpNotFoundException extends BaseHttpException
|
|
{
|
|
protected $statusCode = 404;
|
|
}
|