Skip to content

Commit 470c30f

Browse files
Update README.md
1 parent 58173b2 commit 470c30f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_moreReadMe/exceptions/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ If you are calling a method that declares an exception, you must either caught o
100100

101101
2. You declare the exception i.e. specifying throws with the method.
102102
- if exception does not occur, the code will be executed fine.
103-
- if exception occures, an exception will be thrown at runtime because throws does not handle the exception.
103+
- if exception occurs, an exception will be thrown at runtime because throws does not handle the exception.
104104

105105
You can rethrow and exception by throwing same exception in catch block.
106106

0 commit comments

Comments
 (0)