Nepedia
Back to Discover
Developing Reader
💻

Exception handling

technology Maturity 11-13 war conflict Next article →

This article covers sensitive topics: war_conflict. Parents can manage visibility in Parental Controls.

Computers follow a set of rules. Sometimes a rule is broken. This is called an exception.

When a rule breaks, the computer stops its normal work. It looks for a special plan to help. This plan is a way to handle the problem.

An exception can happen for many reasons. A file might be missing. A computer might run out of room to work.

A person who writes code decides what is an exception. They can choose to fix the problem. They can also choose to stop the work.

Some fixes let the computer keep going. It can go back to its job. This helps the computer stay on track.

110 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.