Programming · Level 2 of 5
Exception
A mechanism for signaling and handling an unusual execution condition.
Unhandled exceptions can terminate a task or program.
Example
A file-reading operation reports that a requested file is missing.
Listen to the definition and example
Audio transcript
Exception. A mechanism for signaling and handling an unusual execution condition. Unhandled exceptions can terminate a task or program. For example: A file-reading operation reports that a requested file is missing.
Explore this concept
Why it matters
This helps you read implementation code and describe its behavior precisely.
Start with
Related concepts
Quick recall question
Try answering before looking back at the definition.