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

ServiceUnavailable. More...

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

Public Member Functions

 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

ServiceUnavailable.

This exception is thrown in case the service is currently not available (e.g. down for maintenance).

Author
Thomas Müller thoma.nosp@m.s.mu.nosp@m.eller.nosp@m.@tmi.nosp@m.t.eu

Definition at line 17 of file ServiceUnavailable.php.

Member Function Documentation

◆ getHTTPCode()

Sabre\DAV\Exception\ServiceUnavailable::getHTTPCode ( )

Returns the HTTP statuscode for this exception.

Returns
int

Definition at line 24 of file ServiceUnavailable.php.

24  {
25 
26  return 503;
27 
28  }

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