ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
Forbidden.php
Go to the documentation of this file.
1<?php
2
3namespace Sabre\DAV\Exception;
4
5use Sabre\DAV;
6
16class Forbidden extends DAV\Exception {
17
23 function getHTTPCode() {
24
25 return 403;
26
27 }
28
29}
An exception for terminatinating execution or to throw for unit testing.
getHTTPCode()
Returns the HTTP statuscode for this exception.
Definition: Forbidden.php:23
Main Exception class.
Definition: Exception.php:18