diff options
Diffstat (limited to 'calendar/lib/SabreDAV/lib/OldSabre/DAV/Exception/InsufficientStorage.php')
-rw-r--r-- | calendar/lib/SabreDAV/lib/OldSabre/DAV/Exception/InsufficientStorage.php | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/calendar/lib/SabreDAV/lib/OldSabre/DAV/Exception/InsufficientStorage.php b/calendar/lib/SabreDAV/lib/OldSabre/DAV/Exception/InsufficientStorage.php new file mode 100644 index 0000000..081a3e4 --- /dev/null +++ b/calendar/lib/SabreDAV/lib/OldSabre/DAV/Exception/InsufficientStorage.php @@ -0,0 +1,27 @@ +<?php + +namespace OldSabre\DAV\Exception; + +/** + * InsufficientStorage + * + * This Exception can be thrown, when for example a harddisk is full or a quota is exceeded + * + * @copyright Copyright (C) 2007-2015 fruux GmbH (https://fruux.com/). + * @author Evert Pot (http://evertpot.com/) + * @license http://sabre.io/license/ Modified BSD License + */ +class InsufficientStorage extends \OldSabre\DAV\Exception { + + /** + * Returns the HTTP statuscode for this exception + * + * @return int + */ + public function getHTTPCode() { + + return 507; + + } + +} |