ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Data Structures | |
class | LockedTest |
class | PaymentRequiredTest |
class | ServiceUnavailableTest |
class | TooManyMatchesTest |
Public Member Functions | |
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... | |
Main Exception class.
This class defines a getHTTPCode method, which should return the appropriate HTTP code for the Exception occurred. The default for this is 500.
This class also allows you to generate custom xml data for your exceptions. This will be displayed in the 'error' element in the failing response.
Definition at line 18 of file Exception.php.
Sabre\DAV\Exception::getHTTPCode | ( | ) |
Returns the HTTP statuscode for this exception.
Definition at line 25 of file Exception.php.
Referenced by Sabre\DAV\Server\exec().
Sabre\DAV\Exception::getHTTPHeaders | ( | Server | $server | ) |
This method allows the exception to return any extra HTTP response headers.
The headers must be returned as an array.
Server | $server |
Definition at line 51 of file Exception.php.
Referenced by Sabre\DAV\Server\exec().
Sabre\DAV\Exception::serialize | ( | Server | $server, |
\DOMElement | $errorNode | ||
) |
This method allows the exception to include additional information into the WebDAV error response.
Server | $server | |
\DOMElement | $errorNode |
Definition at line 38 of file Exception.php.
Referenced by Sabre\DAV\Server\exec().