source: pmb4.2/trunk/fuentes/pmb/admin/connecteurs/out/webdav/lib/Sabre/DAV/Exception/BadRequest.php @ 815

Last change on this file since 815 was 815, checked in by jrpelegrina, 4 years ago

Initial release of pmb 4.2

  • Property svn:executable set to *
File size: 583 bytes
Line 
1<?php
2
3namespace Sabre\DAV\Exception;
4
5/**
6 * BadRequest
7 *
8 * The BadRequest is thrown when the user submitted an invalid HTTP request
9 * BadRequest
10 *
11 * @copyright Copyright (C) 2007-2013 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 */
15class 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}
Note: See TracBrowser for help on using the repository browser.