TooManyMatches
extends Forbidden
in package
TooManyMatches.
This exception is emited for the {DAV:}number-of-matches-within-limits post-condition, as defined in rfc6578, section 3.2.
http://tools.ietf.org/html/rfc6578#section-3.2
This is emitted in cases where the response to a {DAV:}sync-collection would generate more results than the implementation is willing to send back.
Tags
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
getHTTPCode()
Returns the HTTP statuscode for this exception.
public
getHTTPCode() : int
Return values
int —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