Deck 14: Exception Handling

ملء الشاشة (f)
exit full mode
سؤال
The statements that generate an exception are placed in a(n) ____________________ block.
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
A try block is followed by one or more ____________________ blocks.
سؤال
If an exception is thrown in a try block, the remaining statements in that block are executed.
سؤال
A catch block with ____________________ is designed to catch any type of exception.
سؤال
What members do you typically include in a user-defined exception class?
سؤال
Constructors with parameters in a user-defined exception class allow users to create their own error messages.
سؤال
In C++, all user-defined or built-in exceptions must be derived from the exception class.
سؤال
A catch block can rethrow the same exception that it has caught.
سؤال
What does these terms refer to:

- \gg catch block:
سؤال
What does these terms refer to:

- \gg catch block parameter:
سؤال
What does these terms refer to:

- \gg class exception:
سؤال
What does these terms refer to:

- \gg throw statement:
سؤال
What does these terms refer to:

- \gg try block:
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/13
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 14: Exception Handling
1
The statements that generate an exception are placed in a(n) ____________________ block.
try
2
A try block is followed by one or more ____________________ blocks.
catch
3
If an exception is thrown in a try block, the remaining statements in that block are executed.
False
4
A catch block with ____________________ is designed to catch any type of exception.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 13 في هذه المجموعة.
فتح الحزمة
k this deck
5
What members do you typically include in a user-defined exception class?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 13 في هذه المجموعة.
فتح الحزمة
k this deck
6
Constructors with parameters in a user-defined exception class allow users to create their own error messages.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 13 في هذه المجموعة.
فتح الحزمة
k this deck
7
In C++, all user-defined or built-in exceptions must be derived from the exception class.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 13 في هذه المجموعة.
فتح الحزمة
k this deck
8
A catch block can rethrow the same exception that it has caught.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 13 في هذه المجموعة.
فتح الحزمة
k this deck
9
What does these terms refer to:

- \gg catch block:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 13 في هذه المجموعة.
فتح الحزمة
k this deck
10
What does these terms refer to:

- \gg catch block parameter:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 13 في هذه المجموعة.
فتح الحزمة
k this deck
11
What does these terms refer to:

- \gg class exception:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 13 في هذه المجموعة.
فتح الحزمة
k this deck
12
What does these terms refer to:

- \gg throw statement:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 13 في هذه المجموعة.
فتح الحزمة
k this deck
13
What does these terms refer to:

- \gg try block:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 13 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 13 في هذه المجموعة.