Say it like this
- throw an exception
- catch an exception
- handle an exception gracefully
- unhandled exception
- exception occurs
Use it at work
Debugging
- The app throws an exception when the list is empty.
- Can you share the full exception and stack trace?
Code review
- Don't catch all exceptions here. Catch the specific one.
- This should throw an exception, not return null.
Process
- Can we make an exception to the change freeze for this fix?
- This is an exception, not the rule.
Don't say this
Exceptions themselves are errors. You do not want to have many of them; you want to handle them well.
Don't mix it up
| Term | What it is | Who writes or uses it | When |
|---|---|---|---|
| exception | Error event that stops normal flow | Developers | At runtime |
| error | Any problem in the program | Developers | General term |
| bug | Mistake in the code | Developers, QA | Causes errors |
Practice
Try it
4 quick exercises
1. Your API throws an error when data is missing. How do you describe this?
2. We should _______ this NullPointerException before deploying to production.
3. Which sentence uses 'exception' incorrectly?
4. Rewrite using 'exception' or related terms: 'When the user clicks submit, something goes wrong and the app stops.'
Say it out loud
Phrase 1 of 5
"throw an exception"
We don't save your recording. The word check uses your browser's speech recognition.
More about exception
Real examples(3)
- in a standup
"We discovered an exception in the payment module that was causing timeouts during checkout."
- in a code review
"You should wrap this in a try-catch block to handle the possible FileNotFoundException exception."
- in a team meeting
"The production incident was caused by an unhandled exception when the database connection failed."
More mistakes(2)
Handle with care. Non-technical speakers may confuse this with the general English meaning (something that does not follow the rule). In tech, it is specifically an error event during program execution.
- ✕The system will exception if you enter an invalid password.✓The system will throw an exception if you enter an invalid password.
Exception is a noun; you cannot use it as a verb. Use 'throw' or 'raise' instead.
- ✕We need to exception this problem before launch.✓We need to handle this exception before launch.
The verb forms are 'throw,' 'catch,' or 'handle,' not 'exception.'
Other forms(3)
- exception noun
"The application crashed due to an unhandled exception in the login service."
- exceptions noun (plural)
"You should document all exceptions that your API can throw."
- exceptional adjective
"The error handling in this code is exceptional."
Often used with(6)
- throw an exception · The code explicitly raises an error when a condition is not met.
- catch an exception · To write code that intercepts and responds to an exception using a catch block.
- handle an exception · To write code that processes an exception gracefully without crashing.
- unhandled exception · An exception that was not caught or handled, causing the program to crash.
- exception handling · The programming technique of anticipating and responding to exceptions.
- raise an exception · Synonym for throw; to signal an error condition (common in Python).
Similar words(3)
- error · Broader term; an exception is a specific type of runtime error that code can respond to.
- runtime error · Any error that occurs while the program is running; exceptions are structured runtime errors.
- fault · Less common in modern tech; exception is the standard term in programming.
Opposites(2)
- success
- normal execution
Questions(5)
- What does exception mean in software engineering?
- In software engineering, an exception is a runtime event—usually an error or unexpected condition—that interrupts the normal execution of a program. For example, if code tries to divide a number by zero or access a file that does not exist, the program throws an exception. Developers use exception handling (try-catch blocks) to anticipate these problems and write code that responds to them gracefully without crashing the entire application.
- How do you use exception in a sentence at work?
- You can use 'exception' in several ways: 'We need to handle this exception before launch' (to manage an error), 'The code threw an exception when the database went down' (describing what happened), or 'An unhandled exception caused the production outage' (explaining a problem). The most common phrases are 'throw an exception,' 'catch an exception,' and 'handle an exception.'
- Is exception formal or informal?
- Exception is neutral in formality. It is the standard technical term used in both casual code reviews and formal documentation. You will hear it equally in standup meetings, code reviews, and technical specifications. It is not slang, but it is not overly formal either—it is the professional standard term.
- What is the difference between exception and error?
- Error is a broad term that includes any problem in code (logic errors, syntax errors, runtime errors). Exception is more specific: it is a type of runtime error that your code can be programmed to catch and handle. Not all errors are exceptions, but many exceptions are errors. In practice, developers say 'exception' when discussing code that can respond to a problem.
- Why is exception handling important?
- Exception handling is important because it prevents applications from crashing when unexpected things happen. Without proper exception handling, a single error (like a network timeout) could crash the entire application. With exception handling, your code can catch the exception, log it, alert the user, or try an alternative action—keeping the application stable and improving user experience.



