ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
Sabre\DAV\Exception\LockTokenMatchesRequestUri Class Reference

LockTokenMatchesRequestUri. More...

+ Inheritance diagram for Sabre\DAV\Exception\LockTokenMatchesRequestUri:
+ Collaboration diagram for Sabre\DAV\Exception\LockTokenMatchesRequestUri:

Public Member Functions

 __construct ()
 Creates the exception. More...
 
 serialize (DAV\Server $server, \DOMElement $errorNode)
 This method allows the exception to include additional information into the WebDAV error response. More...
 
- Public Member Functions inherited from Sabre\DAV\Exception\Conflict
 getHTTPCode ()
 Returns the HTTP statuscode for this exception. More...
 
- Public Member Functions inherited from Sabre\DAV\Exception
 getHTTPCode ()
 Returns the HTTP statuscode for this exception. More...
 
 serialize (Server $server, \DOMElement $errorNode)
 This method allows the exception to include additional information into the WebDAV error response. More...
 
 getHTTPHeaders (Server $server)
 This method allows the exception to return any extra HTTP response headers. More...
 

Detailed Description

LockTokenMatchesRequestUri.

This exception is thrown by UNLOCK if a supplied lock-token is invalid

Author
Evert Pot (http://evertpot.com/) http://sabre.io/license/ Modified BSD License

Definition at line 16 of file LockTokenMatchesRequestUri.php.

Constructor & Destructor Documentation

◆ __construct()

Sabre\DAV\Exception\LockTokenMatchesRequestUri::__construct ( )

Creates the exception.

Definition at line 21 of file LockTokenMatchesRequestUri.php.

21  {
22 
23  $this->message = 'The locktoken supplied does not match any locks on this entity';
24 
25  }

Member Function Documentation

◆ serialize()

Sabre\DAV\Exception\LockTokenMatchesRequestUri::serialize ( DAV\Server  $server,
\DOMElement  $errorNode 
)

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

Parameters
DAV\Server$server
\DOMElement$errorNode
Returns
void

Definition at line 34 of file LockTokenMatchesRequestUri.php.

34  {
35 
36  $error = $errorNode->ownerDocument->createElementNS('DAV:', 'd:lock-token-matches-request-uri');
37  $errorNode->appendChild($error);
38 
39  }

The documentation for this class was generated from the following file: