You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/topics/exceptions.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,7 @@
1
1
[//]: #(title: Exceptions)
2
2
3
+
<web-summary>Learn how Kotlin uses exceptions to handle runtime errors.</web-summary>
4
+
3
5
Exceptions help your code run more predictably, even when runtime errors occur that could disrupt program execution.
4
6
Kotlin treats all exceptions as _unchecked_ by default.
5
7
Unchecked exceptions simplify the exception handling process: you can catch exceptions, but you don't need to explicitly handle or [declare](java-to-kotlin-interop.md#checked-exceptions) them.
0 commit comments