]> git.mxchange.org Git - friendica-addons.git/blob - dav/SabreDAV/lib/Sabre/DAV/Exception/BadRequest.php
Merge remote branch 'friendica/master'
[friendica-addons.git] / dav / SabreDAV / lib / Sabre / DAV / Exception / BadRequest.php
1 <?php
2
3 /**
4  * BadRequest
5  *
6  * The BadRequest is thrown when the user submitted an invalid HTTP request
7  * BadRequest
8  *
9  * @package Sabre
10  * @subpackage DAV
11  * @copyright Copyright (C) 2007-2012 Rooftop Solutions. All rights reserved.
12  * @author Evert Pot (http://www.rooftopsolutions.nl/) 
13  * @license http://code.google.com/p/sabredav/wiki/License Modified BSD License
14  */
15 class Sabre_DAV_Exception_BadRequest extends Sabre_DAV_Exception {
16
17     /**
18      * Returns the HTTP statuscode for this exception
19      *
20      * @return int
21      */
22     public function getHTTPCode() {
23
24         return 400;
25
26     }
27
28 }