Lines Matching refs:Exception

213 …throw new Exception('Invalid argument passed to constructor. If you\'re passing an array, all the …
224 …throw new Exception('Invalid argument passed to constructor. Argument must either be an instance o…
256 } catch (\Exception $e) {
260 } catch (\Exception $ignore) {
303 if ($e instanceof Exception) {
387 …throw new Exception('The REQUEST_URI (' . $uri . ') did not end with the contents of PATH_INFO (' …
487 throw new Exception\NotImplemented($exMessage);
495 …throw new Exception('No subsystem set a valid HTTP status code. Something must have interrupted th…
530 } catch (Exception\NotFound $e) {
562 …* @throws Exception\Forbidden A permission denied exception is thrown whenever there was an attemp…
588 …throw new Exception\Forbidden('Requested uri (' . $uri . ') is out of base uri (' . $this->getBase…
718 * @throws Exception\BadRequest upon missing or broken request headers
719 * @throws Exception\UnsupportedMediaType when trying to copy into a
721 * @throws Exception\PreconditionFailed If overwrite is set to false, but
723 * @throws Exception\Forbidden when source and destination paths are
725 * @throws Exception\Conflict When trying to copy a node into its own
732 …if (!$request->getHeader('Destination')) throw new Exception\BadRequest('The destination header wa…
739 else throw new Exception\BadRequest('The HTTP Overwrite header should be either T or F');
745 …if (!($destinationParent instanceof ICollection)) throw new Exception\UnsupportedMediaType('The de…
746 } catch (Exception\NotFound $e) {
749 throw new Exception\Conflict('The destination node is not found');
758 …if (!$overwrite) throw new Exception\PreconditionFailed('The destination node already exists, and …
760 } catch (Exception\NotFound $e) {
769 throw new Exception\Forbidden('Source and destination uri are identical.');
772 …throw new Exception\Conflict('The destination may not be part of the same subtree as the source pa…
1085 throw new Exception\Conflict('Files can only be created as children of collections');
1166 } catch (Exception\NotFound $e) {
1167 throw new Exception\Conflict('Parent node does not exist');
1173 throw new Exception\Conflict('Parent node is not a collection');
1181 throw new Exception\MethodNotAllowed('The resource you tried to create already exists');
1183 } catch (Exception\NotFound $e) {
1207 …throw new Exception\InvalidResourceType('The {DAV:}resourcetype you specified is not supported her…
1309 } catch (Exception\NotFound $e) {
1310 …throw new Exception\PreconditionFailed('An If-Match header was specified and the resource did not …
1338 …throw new Exception\PreconditionFailed('An If-Match header was specified, but none of the specifie…
1353 } catch (Exception\NotFound $e) {
1383 …throw new Exception\PreconditionFailed('An If-None-Match header was specified, but the ETag matche…
1431 …throw new Exception\PreconditionFailed('An If-Unmodified-Since header was specified, but the entit…
1499 …throw new Exception\PreconditionFailed('Failed to find a valid token/etag combination for ' . $uri…