Exception

What Does Exception Mean?

An exception is an abnormal or unprecedented event that occurs after the execution of a software program or application. It is a runtime error of an undesired result or event affecting normal program flow.

Advertisements

An exception is also known as a fault.

Techopedia Explains Exception

As a part of every well structured software or hardware appliance, an exception may be classified as one of two broad types: predefined and user defined. Predefined exceptions are native to a system and generally occur when a software developer writes inappropriate code or incorrectly accesses or edits system functionality. A user defined exception is created by a developer to warn end users about certain mistakes or errors.

Exceptions are handled by an exception handler, which helps the underlying system resolve or counteract the exception.

Advertisements

Related Terms

Margaret Rouse

Margaret is an award-winning technical writer and teacher known for her ability to explain complex technical subjects to a non-technical business audience. Over the past twenty years, her IT definitions have been published by Que in an encyclopedia of technology terms and cited in articles by the New York Times, Time Magazine, USA Today, ZDNet, PC Magazine, and Discovery Magazine. She joined Techopedia in 2011. Margaret's idea of a fun day is helping IT and business professionals learn to speak each other’s highly specialized languages.