Software Engineering vocabulary · Debugging and Troubleshooting

Exception

Meaning in software engineering, with examples

/ɪkˈsepʃən/nounCommon term

In software engineering, exception means: An error event that interrupts the normal flow of a program. The code can catch and handle it, or it can make the program crash.

In Turkish: istisna, hata, aykırı durum

How it is used

In Java, C# and JavaScript code 'throws' exceptions; in Python it 'raises' them. You catch, handle, log and sometimes wrongly swallow exceptions. 'Unhandled exception' and 'null pointer exception' are classic phrases.

Example sentences

  1. The parser throws an exception if the date format is wrong.

  2. Don't just catch the exception and ignore it. At least log it.

Common collocations

  • throw an exception
  • catch an exception
  • handle an exception
  • unhandled exception
  • null pointer exception

More terms: Debugging and Troubleshooting

Practise with graded reading

Reading at the right level is the fastest way to make new words stick. Pick free English books by level: