PHP Класс yii\web\RangeNotSatisfiableHttpException

This exception thrown when the requested range is not satisfiable: the client asked for a portion of the file (byte serving), but the server cannot supply that portion. For example, if the client asked for a part of the file that lies beyond the end of the file. Throwing an RangeNotSatisfiableHttpException like in the following example will result in the error page with error 416 to be displayed.
С версии: 2.0.11
Автор: Zalatov Alexander ([email protected])
Наследование: extends HttpException
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( string $message = null, integer $code, Exception $previous = null ) Constructor.

Описание методов

__construct() публичный Метод

Constructor.
public __construct ( string $message = null, integer $code, Exception $previous = null )
$message string error message
$code integer error code
$previous Exception The previous exception used for the exception chaining.