Lines Matching refs:Exception

207 …throw new Exception('Invalid argument passed to constructor. If you\'re passing an array, all the …
218 …throw new Exception('Invalid argument passed to constructor. Argument must either be an instance o…
250 } catch (\Exception $e) {
254 } catch (\Exception $ignore) {
297 if ($e instanceof Exception) {
381 …throw new Exception('The REQUEST_URI (' . $uri . ') did not end with the contents of PATH_INFO (' …
462 …throw new Exception\NotImplemented('There was no handler found for this "' . $method . '" method');
502 } catch (Exception\NotFound $e) {
529 …* @throws Exception\Forbidden A permission denied exception is thrown whenever there was an attemp…
555 …throw new Exception\Forbidden('Requested uri (' . $uri . ') is out of base uri (' . $this->getBase…
685 * @throws Exception\BadRequest upon missing or broken request headers
686 * @throws Exception\UnsupportedMediaType when trying to copy into a
688 * @throws Exception\PreconditionFailed If overwrite is set to false, but
690 * @throws Exception\Forbidden when source and destination paths are
692 * @throws Exception\Conflict When trying to copy a node into its own
699 …if (!$request->getHeader('Destination')) throw new Exception\BadRequest('The destination header wa…
706 else throw new Exception\BadRequest('The HTTP Overwrite header should be either T or F');
712 …if (!($destinationParent instanceof ICollection)) throw new Exception\UnsupportedMediaType('The de…
713 } catch (Exception\NotFound $e) {
716 throw new Exception\Conflict('The destination node is not found');
725 …if (!$overwrite) throw new Exception\PreconditionFailed('The destination node already exists, and …
727 } catch (Exception\NotFound $e) {
736 throw new Exception\Forbidden('Source and destination uri are identical.');
739 …throw new Exception\Conflict('The destination may not be part of the same subtree as the source pa…
1020 throw new Exception\Conflict('Files can only be created as children of collections');
1101 } catch (Exception\NotFound $e) {
1102 throw new Exception\Conflict('Parent node does not exist');
1108 throw new Exception\Conflict('Parent node is not a collection');
1116 throw new Exception\MethodNotAllowed('The resource you tried to create already exists');
1118 } catch (Exception\NotFound $e) {
1142 …throw new Exception\InvalidResourceType('The {DAV:}resourcetype you specified is not supported her…
1233 } catch (Exception\NotFound $e) {
1234 …throw new Exception\PreconditionFailed('An If-Match header was specified and the resource did not …
1262 …throw new Exception\PreconditionFailed('An If-Match header was specified, but none of the specifie…
1277 } catch (Exception\NotFound $e) {
1307 …throw new Exception\PreconditionFailed('An If-None-Match header was specified, but the ETag matche…
1355 …throw new Exception\PreconditionFailed('An If-Unmodified-Since header was specified, but the entit…
1423 …throw new Exception\PreconditionFailed('Failed to find a valid token/etag combination for ' . $uri…