public function __construct($code = NULL, \Exception $cause = NULL) { parent::__construct($code === NULL ? WebDav::CODE_INTERNAL_SERVER_ERROR : $code, $cause); }
public function __construct($status = NULL, \Exception $cause = NULL) { $status = $status === NULL ? WebDav::CODE_INTERNAL_SERVER_ERROR : $status; parent::__construct($status, $cause); $this->message = WebDav::getReason($status); }
public function __construct(\Exception $cause = NULL) { parent::__construct(Http::CODE_NOT_FOUND, $cause); }
public function __construct(EntityInterface $entity, $status = NULL, \Exception $cause = NULL) { parent::__construct($status, $cause); $this->entity = $entity; }
public function __construct(HttpResponse $response, \Exception $cause = NULL) { parent::__construct($response->getStatus(), $cause); $this->response = $response; }
public function __construct(array $allow = [], \Exception $cause = NULL) { parent::__construct(Http::CODE_METHOD_NOT_ALLOWED, $cause); $this->allow = $allow; }
public function __construct(\Exception $cause = NULL) { parent::__construct(Http::CODE_BAD_REQUEST, $cause); }