CS 2316 > Chapter 19 > Flashcards
exception
An error that occurs at runtime.
handle an exception
To prevent an exception from causing our program to crash, by wrapping the block of code in a try … except construct.
raise
To create a deliberate exception by using the raise statement.