Treating Errorhandling as a First Class Consideration in Design

room: Grand Ballroom F — time: Tuesday 11:00-11:45, Tuesday 11:45-12:30
Level: Practicing

It is unfortunate, but true: for many teams error handling is an afterthought. They design the main flows of their system and then they think about where they need exceptions and logging. However, the error cases are extremely important. When we consider them along with the normal cases, we an often find ways to arrive at better design. In this workshop, we will pursue design a series of solutions to the same problem with the error cases considered early and late. Then we will compare and contrast solutions and see how early consideration of cases can affect the growth of a design.

Process/Mechanics

The workshop convener will outline a problem without error cases. Attendees will design a solution in Java using TDD. Afterward, the convener will outline several different strategies for error handling and recovery - a base set of patterns. Then he will outline the same problem with error cases. Attendees will redesign their solutions and code them. We will them compare and contrast the designs.

Learning outcomes
  • Attendees will likely see error handling and recovery in a different light and recognize its importance in design.
Featured participants
Primary target persona
Reviews

No reviews

Subscribe to an RSS feed of reviews of this proposal Syndicate content