ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
LockTokenMatchesRequestUri.php
Go to the documentation of this file.
1<?php
2
3namespace Sabre\DAV\Exception;
4
5use Sabre\DAV;
6
17
21 function __construct() {
22
23 $this->message = 'The locktoken supplied does not match any locks on this entity';
24
25 }
26
34 function serialize(DAV\Server $server, \DOMElement $errorNode) {
35
36 $error = $errorNode->ownerDocument->createElementNS('DAV:', 'd:lock-token-matches-request-uri');
37 $errorNode->appendChild($error);
38
39 }
40
41}
An exception for terminatinating execution or to throw for unit testing.
serialize(DAV\Server $server, \DOMElement $errorNode)
This method allows the exception to include additional information into the WebDAV error response.
Main DAV server class.
Definition: Server.php:23
$server
Definition: sabredav.php:48