Documentation

RequestedRangeNotSatisfiable extends Exception
in package

RequestedRangeNotSatisfiable.

This exception is normally thrown when the user request a range that is out of the entity bounds.

Tags
copyright

Copyright (C) fruux GmbH (https://fruux.com/)

author

Evert Pot (http://evertpot.com/)

license

http://sabre.io/license/ Modified BSD License

Table of Contents

getHTTPCode()  : int
returns the http statuscode for this exception.
getHTTPHeaders()  : array<string|int, mixed>
This method allows the exception to return any extra HTTP response headers.
serialize()  : mixed
This method allows the exception to include additional information into the WebDAV error response.

Methods

getHTTPHeaders()

This method allows the exception to return any extra HTTP response headers.

public getHTTPHeaders(Server $server) : array<string|int, mixed>

The headers must be returned as an array.

Parameters
$server : Server
Return values
array<string|int, mixed>

serialize()

This method allows the exception to include additional information into the WebDAV error response.

public serialize(Server $server, DOMElement $errorNode) : mixed
Parameters
$server : Server
$errorNode : DOMElement
Return values
mixed

Search results