NEW: English for Tech Bundle → Save 38%
Your progress…

Loading your progress…

Home
Code & Deliverynoun · /ɪkˈsepʃən/

exception

exception — An event that occurs during program execution that disrupts the normal flow and requires special handling.

In simple English

In software development, an exception is a runtime error or abnormal condition that interrupts the normal execution of a program. When something unexpected happens—like dividing by zero, accessing a null value, or a network timeout—the program throws an exception. Developers use exception handling (try-catch blocks) to anticipate these problems and write code that gracefully responds to them rather than crashing. Exceptions are central to writing robust software. Instead of checking error codes manually, modern programming languages use exceptions to signal problems clearly. You will hear phrases like 'throw an exception,' 'catch an exception,' or 'handle an exception' in code reviews and standups. Understanding exception handling is critical because unhandled exceptions cause application failures, poor user experience, and production incidents. There are also different types of exceptions: some are checked (must be handled by the programmer), others are unchecked (runtime errors). Knowing which exceptions your code can throw helps teammates understand potential failure points and write safer code.

How to say it: Say ik-SEP-shun.

What is an exception in programming and how do you handle them in code?

At a glanceCEFR B2
Commonness5/5
Versatility5/5
FormalityCasualFormalNeutral
Spoken ↔ WrittenSpokenWrittenBoth
Directness ↔ DiplomaticDirectDiplomaticDirect
RegionUS and UK

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

✕We have many exceptions in our code.
✓We have many exception handlers in our code.

Exceptions themselves are errors. You do not want to have many of them; you want to handle them well.

Don't mix it up

How exception differs from similar terms
TermWhat it isWho writes or uses itWhen
exceptionError event that stops normal flowDevelopersAt runtime
errorAny problem in the programDevelopersGeneral term
bugMistake in the codeDevelopers, QACauses errors

Practice

Try it

4 quick exercises

Pick the most natural phrasing

1. Your API throws an error when data is missing. How do you describe this?

Complete the sentence

2. We should _______ this NullPointerException before deploying to production.

Spot the mistake

3. Which sentence uses 'exception' incorrectly?

Rewrite naturally

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.
New app · Free lessons

Speak up in meetings. Feel confident.

Standup vocabulary, native examples, and quick practice — 100+ free lessons

Start learning freeNo card needed · Google or email

For bots & AI agents

Machine-readable versions of this page and Speak Tech English. Speak Tech English sells self-study ebooks and courses in English for tech, publishes free guides, a free glossary and a free newsletter; live lessons are on Mockly English. Fetch these instead of parsing this page.

This page (.md)llms.txtllms-full.txtai.txtGlossary (.md)Free guides (.md)All products (.md)Endpoint indexNewsletterLive lessons (Mockly)