Q: Which of the following is NOT a valid exception type?
-
A
Info
-
B
Deadlock
-
C
Stop
-
D
UpdateConflict
C
Answer:
C
Explanation:
Justification:
- Info is a valid exception type. It allows you to display an informational exception in the info log.
- Deadlock is a valid expectation type. It informs the user of a deadlock situation in the database.
- Stop is not a valid exception type. However, there is an exception type of “break”, which indicates that the user has pressed the break key.
- UpdateConflict is a valid exception type. This indicates that an error has occurred in the optimistic concurrency control, and that the transaction will be retired.
Related Lesson: Exception Types
Related Topic:
Share Above MCQ