60 $error = $errorNode->ownerDocument->createElementNS(
'DAV:',
'd:lock-token-submitted');
61 $errorNode->appendChild($error);
63 $href = $errorNode->ownerDocument->createElementNS(
'DAV:',
'd:href');
64 $href->appendChild($errorNode->ownerDocument->createTextNode($this->lock->uri));
getHTTPCode()
Returns the HTTP statuscode for this exception.
serialize(DAV\Server $server, \DOMElement $errorNode)
This method allows the exception to include additional information into the WebDAV error response...
__construct(DAV\Locks\LockInfo $lock=null)
Creates the exception.