Callers should not catch an unchecked exception, so it doesn't belong in a function signature. Unchecked exceptions indicate a coding error, which by definition the code will not be able to handle correctly. If any of these exceptions were supposed to be in response to an edge case, user input, or initial conditions, then they should be changed to a runtime error. If the exception class cannot be changed, then the annotation should include a comment explaining its purpose and prognosis. Bug: T240672 Change-Id: I2e640b9737cb68090a8e1cb70067d1b74037d647 |
||
|---|---|---|
| .. | ||
| Hook | ||
| BadRequestError.php | ||
| BadTitleError.php | ||
| CannotCreateActorException.php | ||
| ErrorPageError.php | ||
| FatalError.php | ||
| HttpError.php | ||
| ILocalizedException.php | ||
| LocalizedException.php | ||
| MWContentSerializationException.php | ||
| MWException.php | ||
| MWExceptionHandler.php | ||
| MWExceptionRenderer.php | ||
| MWUnknownContentModelException.php | ||
| PermissionsError.php | ||
| ProcOpenError.php | ||
| ReadOnlyError.php | ||
| ShellDisabledError.php | ||
| ThrottledError.php | ||
| UserBlockedError.php | ||
| UserNotLoggedIn.php | ||