exception handling 1 Flashcards

1
Q

An ________ is an unexpected or error condition.

A

exception

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

is the name for the object-oriented techniques that manage or resolve such errors.

A

Exception Handling

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Unplanned exceptions that occur during a program’s execution are also called ____.

A

runtime exceptions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

class represents more serious errors from which your program usually cannot recover.

A

Error

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

class represents more serious errors from which your program usually cannot recover.

A

Error

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

The ____ class comprises less serious errors that represent unusual conditions that arise while a program is running and from which the program can recover

A

Exception

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

term _____ probably evolved from the hardware error that occurs when a read/write head abruptly comes into contact with a hard disk, but the term has evolved to include software errors that cause program failure.

A

crash

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

The list of error messages after each attempted execution is called a

A

stack trace history list, or more simply, a stack trace.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

The term ____ describes any process that is crucial to an organization.

A

mission critical

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

________ applications are designed so that they continue to operate, possibly at a reduced level, when some part of the system fails.

A

Fault-tolerant

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

_______ represents the degree to which a system is resilient to stress and able to continue functioning.

A

Robustness

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

______ is a segment of code that can handle an exception that might be thrown by the try block that precedes it.

A

catch block

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

A _________ is one that sends an Exception object out of a block or a method so that it can be handled elsewhere.

A

throw statement

How well did you know this?
1
Not at all
2
3
4
5
Perfectly