Tech and Media Labs
This site uses cookies to improve the user experience.




Strategy Elements

Jakob Jenkov
Last update: 2014-05-26

An exception handling strategy typically consists of the following elements:

  1. Error detection
  2. Error information gathering
  3. Throwing the exception
  4. Propagating the exception, possibly adding context information to it.
  5. Catching and reacting to the exception:
    • Retrying the action, if possible.
    • Notifying relevant parties.

I will talk a bit about each of these elements in the following pages.

Jakob Jenkov




Copyright  Jenkov Aps
Close TOC