From 982529f0fac2fba9eec53f872fdcf3561d38f000 Mon Sep 17 00:00:00 2001 From: Ozear Khan Date: Wed, 16 Oct 2024 19:43:48 +0530 Subject: [PATCH 1/2] made the description below 150 characters --- content/cpp/concepts/exceptions/exceptions.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/content/cpp/concepts/exceptions/exceptions.md b/content/cpp/concepts/exceptions/exceptions.md index 2414351fe40..c0f01063bd8 100644 --- a/content/cpp/concepts/exceptions/exceptions.md +++ b/content/cpp/concepts/exceptions/exceptions.md @@ -1,20 +1,20 @@ --- Title: 'Exceptions' -Description: 'An Exception in C++ is the computers response to a problem that occurs while executing a programs code. If the code does not handle the exception, the program will stop running due to the error.' +Description: 'In C++, an Exception is a runtime error that occurs during the execution of a program. If not handled, it stops the program execution.' Subjects: - 'Computer Science' - 'Game Development' Tags: - - 'Exceptions' - - 'Try' - 'Catch' - 'Errors' + - 'Exceptions' + - 'Try' CatalogContent: - 'learn-c-plus-plus' - 'paths/computer-science' --- -In C++, an **exception** is the computer's response to a problem that occurs while executing a program's code. The computer will create an exception, and if the code does not have a way to handle it, then the program will stop executing due to the error. +In C++, an **`Exception`** is a runtime error that occurs during the execution of a program. If not handled, it stops the program execution. The computer will create an `exception`, and if the code does not have a way to handle it, then the program will stop executing due to the error. ## Catching an Exception From ff21730495d6b3a54125d9e8bf6b9c1d2b351155 Mon Sep 17 00:00:00 2001 From: Mamta Wardhani Date: Fri, 18 Oct 2024 15:11:37 +0530 Subject: [PATCH 2/2] Update exceptions.md minor changes --- content/cpp/concepts/exceptions/exceptions.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/cpp/concepts/exceptions/exceptions.md b/content/cpp/concepts/exceptions/exceptions.md index c0f01063bd8..08f02f785bf 100644 --- a/content/cpp/concepts/exceptions/exceptions.md +++ b/content/cpp/concepts/exceptions/exceptions.md @@ -1,6 +1,6 @@ --- Title: 'Exceptions' -Description: 'In C++, an Exception is a runtime error that occurs during the execution of a program. If not handled, it stops the program execution.' +Description: 'Exception is a runtime error that occurs during the execution of a program. If not handled, it stops the program execution.' Subjects: - 'Computer Science' - 'Game Development' @@ -14,7 +14,7 @@ CatalogContent: - 'paths/computer-science' --- -In C++, an **`Exception`** is a runtime error that occurs during the execution of a program. If not handled, it stops the program execution. The computer will create an `exception`, and if the code does not have a way to handle it, then the program will stop executing due to the error. +In C++, an **exception** is a runtime error that occurs during the execution of a program. If not handled, it stops the program execution. The computer will create an `exception`, and if the code does not have a way to handle it, then the program will stop executing due to the error. ## Catching an Exception