diff options
Diffstat (limited to 'vendor/sabre/dav/lib/DAV/Exception/NotImplemented.php')
-rw-r--r-- | vendor/sabre/dav/lib/DAV/Exception/NotImplemented.php | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/vendor/sabre/dav/lib/DAV/Exception/NotImplemented.php b/vendor/sabre/dav/lib/DAV/Exception/NotImplemented.php new file mode 100644 index 000000000..68f309222 --- /dev/null +++ b/vendor/sabre/dav/lib/DAV/Exception/NotImplemented.php @@ -0,0 +1,29 @@ +<?php + +namespace Sabre\DAV\Exception; + +use Sabre\DAV; + +/** + * NotImplemented + * + * This exception is thrown when the client tried to call an unsupported HTTP method or other feature + * + * @copyright Copyright (C) fruux GmbH (https://fruux.com/) + * @author Evert Pot (http://evertpot.com/) + * @license http://sabre.io/license/ Modified BSD License + */ +class NotImplemented extends DAV\Exception { + + /** + * Returns the HTTP statuscode for this exception + * + * @return int + */ + function getHTTPCode() { + + return 501; + + } + +} |