Exception Handling

Exception

English

Overview

An unexpected error condition that occurs during execution.

Details

An object representing an abnormal situation that the normal processing flow can't handle. Once raised, it typically propagates to the caller. In many languages, exceptions form a class hierarchy, with specific exception classes inheriting from more general ones (such as Java's Exception or Throwable), so a catch block can catch broadly by handling one of the parent classes.

More Programming terms