Programming FundamentalsBeginner
Exception
Pronunciationik-SEP-shun
Definition
An error that happens while the program runs. It stops normal flow unless your code catches and handles it.
Where you hear it
Stack traces, logs, try/catch, and bug reports.
Examples
The service throws an exception when the file is missing.
Catch the exception and show a friendly message.
Common mistake
Catching every exception and ignoring it. The error disappears from sight but not from reality.
Keep exploring
More in Programming Fundamentals