Skip to content

Commit 98c03a3

Browse files
committed
Section 18 Exception Handling
Signed-off-by: https://github.com/Someshdiwan <[email protected]>
1 parent b1351aa commit 98c03a3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Section18ExceptionHandling/src/ExceptionHandling.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ This leads to cleaner, more reliable code compared to manually closing resources
2929
When an exception is not caught in a method, it is propagated up the call stack to the calling method.
3030
This process continues until the exception is either caught and handled or reaches the top of the call stack.
3131

32-
If it reaches the top without being caught, the default exception handler prints the stack trace and terminates the program.
32+
If it reaches the top without being caught, the default exception handler prints the stack trace and terminates
33+
the program.
3334

3435
This mechanism allows for centralized exception handling and gives flexibility in where exceptions are handled.
3536

0 commit comments

Comments
 (0)