From ce19e3777cf9862cc392bc47332e45df43d51017 Mon Sep 17 00:00:00 2001 From: JeremiasArian <159722626+JeremiasArian@users.noreply.github.com> Date: Tue, 27 Feb 2024 04:07:39 +0000 Subject: [PATCH] Fixed typo. --- data/part-11/3-exceptions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/part-11/3-exceptions.md b/data/part-11/3-exceptions.md index c1c10ce1f..3600f5690 100644 --- a/data/part-11/3-exceptions.md +++ b/data/part-11/3-exceptions.md @@ -27,7 +27,7 @@ Some exceptions we have to always prepare for, such as errors when reading from ## Handling exceptions -We use the `try {} catch (Exception e) {}` block structure to handle exceptions. The keyword `try` starts a block containing the code which *might* throw an exception. the block starting with the keyword `catch` defines what happens if an exception is thrown in the `try` block. The keyword `catch` is followed by the type of the exception handled by that block, for example "all exceptions" `catch (Exception e)`. +We use the `try {} catch (Exception e) {}` block structure to handle exceptions. The keyword `try` starts a block containing the code which *might* throw an exception. The block starting with the keyword `catch` defines what happens if an exception is thrown in the `try` block. The keyword `catch` is followed by the type of the exception handled by that block, for example "all exceptions" `catch (Exception e)`. ```java