1. Home
  2. Computing & Technology
  3. C / C++ / C#

Definition of Exception

By , About.com Guide

Definition: An exception is a hardware generated condition which is triggered when processing fails for some reason in a CPU. It could be caused by dividing by zero or trying to access memory at a non existent address.

C++ and C# both have language features that support exception handling and allow applications to recover from some exceptions and continue processing.

Glossary:

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Examples:
The keyword try is used in C++ and C# for exception handling.
Explore C / C++ / C#
About.com Special Features

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. C / C++ / C#
  4. Glossary
  5. Exception - Definition

©2009 About.com, a part of The New York Times Company.

All rights reserved.