1<?php
2
3namespace Sabre\DAV\Exception;
4
5use Sabre\DAV;
6
7/**
8 * NotImplemented
9 *
10 * This exception is thrown when the client tried to call an unsupported HTTP method or other feature
11 *
12 * @copyright Copyright (C) 2007-2015 fruux GmbH (https://fruux.com/).
13 * @author Evert Pot (http://evertpot.com/)
14 * @license http://sabre.io/license/ Modified BSD License
15 */
16class NotImplemented extends DAV\Exception {
17
18    /**
19     * Returns the HTTP statuscode for this exception
20     *
21     * @return int
22     */
23    function getHTTPCode() {
24
25        return 501;
26
27    }
28
29}
30