2013-10-07 13:11:47 +00:00
|
|
|
<?php
|
2015-02-12 11:29:01 +00:00
|
|
|
|
|
|
|
|
|
|
|
namespace OC\Connector\Sabre\Exception;
|
|
|
|
|
|
|
|
class EntityTooLarge extends \Sabre\DAV\Exception {
|
2013-10-07 13:11:47 +00:00
|
|
|
|
2013-10-08 13:40:42 +00:00
|
|
|
/**
|
|
|
|
* Returns the HTTP status code for this exception
|
|
|
|
*
|
|
|
|
* @return int
|
|
|
|
*/
|
|
|
|
public function getHTTPCode() {
|
2013-10-07 13:11:47 +00:00
|
|
|
|
2013-10-08 13:40:42 +00:00
|
|
|
return 413;
|
2013-10-07 13:11:47 +00:00
|
|
|
|
2013-10-08 13:40:42 +00:00
|
|
|
}
|
2013-10-07 13:11:47 +00:00
|
|
|
|
|
|
|
}
|