Software Techie (PEGA) currently on a Career Break
Re:Ruby basics 3 Years, 10 Months ago
The program stops if an exception occurs.
. So exceptions are used to handle various type of errors which may occur during a program execution and take appropriate action instead of halting program completely.