Lines Matching refs:Exception

74      * @throws Exception
89 * @throws Exception
95 throw new Exception('error_nourl', [$extension->getId()]);
105 * @throws Exception
121 * @throws Exception
127 throw new Exception('msg_upload_failed', [$_FILES[$field]['error']]);
133 throw new Exception('msg_upload_failed', ['move failed']);
146 * @throws Exception
194 * @throws Exception
199 throw new Exception('error_notinstalled', [$extension->getId()]);
203 throw new Exception('error_uninstall_protected', [$extension->getId()]);
210 …throw new Exception('error_uninstall_dependants', [$extension->getId(), implode(', ', $dependants)…
214 throw new Exception('msg_delete_failed', [$extension->getId()]);
224 * @throws Exception
228 if ($extension->isTemplate()) throw new Exception('notimplemented');
229 … if (!$extension->isInstalled()) throw new Exception('error_notinstalled', [$extension->getId()]);
230 … if ($extension->isEnabled()) throw new Exception('error_alreadyenabled', [$extension->getId()]);
235 throw new Exception('pluginlistsaveerror');
243 * @throws Exception
247 if ($extension->isTemplate()) throw new Exception('notimplemented');
248 … if (!$extension->isInstalled()) throw new Exception('error_notinstalled', [$extension->getId()]);
249 … if (!$extension->isEnabled()) throw new Exception('error_alreadydisabled', [$extension->getId()]);
250 …if ($extension->isProtected()) throw new Exception('error_disable_protected', [$extension->getId()…
254 …throw new Exception('error_disable_dependants', [$extension->getId(), implode(', ', $dependants)]);
260 throw new Exception('pluginlistsaveerror');
271 * @throws Exception
277 throw new Exception('error_badurl');
299 … if ($data === false) throw new Exception('error_download', [$url, $http->error, $http->status]);
320 throw new Exception('error_save');
381 * @throws Exception
387 throw new Exception('error_minphp', [$extension->getId(), $min, PHP_VERSION]);
392 throw new Exception('error_maxphp', [$extension->getId(), $max, PHP_VERSION]);
399 * @throws Exception if the permissions are not correct
412 if (!is_writable($target)) throw new Exception('noperms');
419 if ($extension->isTemplate()) throw new Exception('notplperms');
420 throw new Exception('nopluginperms');
443 * @throws Exception
449 } catch (\Exception $e) {
450 throw new Exception('error_dircreate', [], $e);
452 if (!$dir) throw new Exception('error_dircreate');
494 * @throws Exception
499 if (!$fh) throw new Exception('error_archive_read', [$archive]);
512 throw new Exception('error_archive_extract', [$archive, $e->getMessage()], $e);
521 * @throws Exception
529 throw new Exception('error_copy_read', [$src]);
538 throw new Exception('error_copy_mkdir', [$dst]);
546 throw new Exception('error_copy_copy', [$src, $dst]);