Content deleted Content added
No edit summary Tags: Reverted Mobile edit Mobile app edit iOS app edit App section source |
No edit summary Tags: Manual revert Mobile edit Mobile app edit iOS app edit App section source |
||
Line 152:
== Checked exceptions ==
[[Java (programming language)|Java]] introduced the notion of checked exceptions,<ref>{{cite web |url=http://answers.google.com/answers/threadview?id=26101 |title=Google Answers: The origin of checked exceptions |access-date=2011-12-15 |url-status=live |archive-url=http://archive.wikiwix.com/cache/20110806090553/http://answers.google.com/answers/threadview?id=26101 |archive-date=2011-08-06 }}</ref><ref>Java Language Specification, chapter 11.2. http://java.sun.com/docs/books/jls/third_edition/html/exceptions.html#11.2 {{webarchive|url=https://web.archive.org/web/20061208042454/http://java.sun.com/docs/books/jls/third_edition/html/exceptions.html |date=2006-12-08 }}</ref> which are special classes of exceptions. Specifically, a checked exception extends <code>Exception</code> but does not extend <code>RuntimeException
<syntaxhighlight lang="Java">
|