summaryrefslogtreecommitdiffstats
path: root/lib/private/connector/sabre/exception/entitytoolarge.php
blob: aa9b37a04964bea3108b152d8c07f8f3615fc24d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php

/**
 * EntityTooLarge
 *
 * This exception is thrown whenever a user tries to upload a file which exceeds hard limitations
 *
 */
class OC_Connector_Sabre_Exception_EntityTooLarge extends Sabre_DAV_Exception {

    /**
     * Returns the HTTP statuscode for this exception
     *
     * @return int
     */
    public function getHTTPCode() {

//        return 413;

	    return 450;
    }

}