Tutorials     About     RSS
Tech and Media Labs

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

Featured Videos

Thread Congestion in Java - Video Tutorial

Sponsored Ads

Maildroppa - Smart Email Marketing Solution
Close TOC

All Trails

Trail TOC

Page TOC