ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
BadRequest.php
Go to the documentation of this file.
1 <?php
2 
4 
5 use Sabre\DAV;
6 
17 class BadRequest extends DAV\Exception {
18 
24  function getHTTPCode() {
25 
26  return 400;
27 
28  }
29 
30 }
Main Exception class.
Definition: Exception.php:18
getHTTPCode()
Returns the HTTP statuscode for this exception.
Definition: BadRequest.php:24